點擊LI時仿照A標籤進行頁面跳轉
html:
<ul>
<li link="/school/schooldetail/success_detail?case_id=<!--{$cases.id}-->">
</ul>
javascript:javascript
$("ul").on("click" , "li" , function(){
var link = $(this).attr("link");
window.parent.location.href=link;
})