Skip to Content
Menu
This question has been flagged
1 Odpoveď
6836 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
3995
1
sep 19
10841
3
dec 23
46054
4
sep 16
9087
0
mar 15
3978