コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6836 ビュー

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!

アバター
破棄
最善の回答
                    

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 :

");



アバター
破棄
関連投稿 返信 ビュー 活動
1
6月 25
3995
1
9月 19
10841
3
12月 23
46054
4
9月 16
9087
0
3月 15
3978