Skip to Content
Menu
This question has been flagged
1 Odpoveď
7134 Zobrazenia

I need to display a python variable in javascript loop. But when I try to show it, doesn't work:

document.write("<p><strong> A l'attention de :"+${l.name}+"</strong><br/> Tél : </p>");

Help me please!

Avatar
Zrušiť
Best Answer
                    

Print that value in div section with id, and call that value in javascript.

like 

${l.name}
${l.name}



varlanme=document.getelementbyid('lname')
document.write("

A l'attention de :"+ lname +"
Tél :

");



Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
jún 25
4464
1
sep 19
11299
3
dec 23
46654
4
sep 16
9089
0
mar 15
4410