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
7021 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
4288
1
wrz 19
11074
3
gru 23
46381
4
wrz 16
9089
0
mar 15
4185