Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6823 Zobrazení

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šit
Nejlepší odpověď
                    

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šit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 25
3990
1
zář 19
10836
3
pro 23
46049
4
zář 16
9087
0
bře 15
3974