欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

使用delegate方法為一個tr標(biāo)簽加一個鏈接

 更新時間:2014年06月27日 17:50:42   投稿:whsnow  
這篇文章主要介紹了使用delegate方法為一個tr標(biāo)簽加一個鏈接,并規(guī)定當(dāng)這些事件發(fā)生時運(yùn)行的函數(shù),需要的朋友可以參考下
$("table").delegate("tr","click",function(e){
checkbox=$(this).children().first().children()[0];
alter=$(this).children().eq(8).children().children()[0];
delet=$(this).children().last().children().children()[0];
if(e.target!=checkbox&&e.target!=alter&&e.target!=delet){
rollcall_id=$(this).children().first().children().val()
open("/Student/student?sid="+rollcall_id,"mframe");
}
});

相關(guān)文章

最新評論