$(document).on('click','.my-div',function(){
console.log($(this).html())
window.open("/details/school?name=" + $(this).html(), "iframes");
});
$(document).on('click','.my-div',function(){
console.log($(this).html())
window.open("/details/school?name=" + $(this).html(), "iframes");
});
本文标题:在layui里面使用函数
本文链接:https://www.haomeiwen.com/subject/xwmiiqtx.html
网友评论