Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6880 Tampilan

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
Buang
Jawaban Terbai
                    

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jun 25
4119
1
Sep 19
10914
3
Des 23
46172
4
Sep 16
9087
0
Mar 15
4074