Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6845 Widoki

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!

Awatar
Odrzuć
Najlepsza odpowiedź
                    

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 :

");



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 25
3998
1
wrz 19
10842
3
gru 23
46057
4
wrz 16
9087
0
mar 15
3978