Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
6992 Visninger

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
Kassér
Bedste svar
                    

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
jun. 25
4224
1
sep. 19
11045
3
dec. 23
46336
4
sep. 16
9089
0
mar. 15
4165