Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
6833 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 25
3995
1
sep. 19
10840
3
dec. 23
46054
4
sep. 16
9087
0
mar. 15
3978