Skip to Content
Menu
This question has been flagged
1 Atsakyti
6829 Rodiniai

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!

Portretas
Atmesti
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 :

");



Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
birž. 25
3994
1
rugs. 19
10838
3
gruod. 23
46052
4
rugs. 16
9087
0
kov. 15
3978