2014年1月2日

[转载]js javascript 判断字符串是否包含某字符串,String对象中查找子字符,indexOf

摘要: var Cts = "bblText";if(Cts.indexOf("Text") > 0 ){ alert('Cts中包含Text字符串');} 阅读全文

posted @ 2014-01-02 22:12 iackjee 阅读(120) 评论(0) 推荐(0) 编辑

JQuery绑定和注销事件

摘要: 1 $('#action_list > li').each(function(){ $(this).unbind('click') .bind('click', function(){ 2 /** some code*/3 }); 4 }); 阅读全文

posted @ 2014-01-02 22:02 iackjee 阅读(468) 评论(0) 推荐(0) 编辑

导航