随笔分类 -  jquery使用技巧

摘要:1. 设置IE特有的功能: if($.browser.msie) { //do something... }2. 使用jQuery来代替一个元素: $('#thatdiv').replaceWith('fnuh');3.从一个未排序的集合中找出某个元素的索引号: $("ul > li"... 阅读全文
posted @ 2015-11-09 14:35 Rella 阅读(227) 评论(0) 推荐(0)