콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6824 화면

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
3991
1
9월 19
10837
3
12월 23
46049
4
9월 16
9087
0
3월 15
3974