jquery
2014-12-04 6 views 0 likes 
0
$("#content").html("<h1>Valid Types</h1><ul><li><a href='" + SITE_URL + "/Custom_App/?app_type=frame&amp;session_id=" + session_id + "&amp;cart_id= " + cart_id + ">Custom Frame</a></li></ul>"); 

단지 보여주고있다 : 그것은 작동해야다음 코드가 링크를 생성하지 않는 이유는 무엇입니까?

<h1>Valid Types</h1> 
<ul><li></li></ul> 
+0

올바르게 연결하십시오 ... –

+1

href 끝에있는 견적이 누락되었습니다 – Hacketo

+0

감사합니다. 그것 고정 – AllisonC

답변

2
$("#content").html("<h1>Valid Types</h1><ul><li><a href=\"" + SITE_URL + "/Custom_App/?app_type=frame&amp;session_id=" + session_id + "&amp;cart_id= " + cart_id + "\">Custom Frame</a></li></ul>"); 

.

관련 문제