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!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 :
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 25
|
4114 | ||
|
1
Sep 19
|
10910 | ||
|
3
Dec 23
|
46157 | ||
|
4
Sep 16
|
9087 | ||
|
0
Mar 15
|
4066 |