10 2009 档案

摘要:在jquery 中我们可以选择$().each() 与 $.each() 进行迭代对象和数组$(items).each(function(){ //item}) ,而后者则 $.each(items,function(i,item){//write yourcode})-----------------jquery ajax----------------------jquery 开发ajax 相... 阅读全文
posted @ 2009-10-20 12:06 Rhythmk 阅读(23572) 评论(1) 推荐(1)
摘要:1.jQuery.fn.extend 是对jQuery方法进行扩展demo: jquery 本身并不提供 jQuery.color() 这个方法,如果我们需要对jQuery本身提供的方法进行扩展,则我们就需要是用jQuery.fn.extend [代码]2.jQuery.extend对jQuery对象的扩展,可以理解为静态方法,不需要实例jQuery就可以使用 jQuery.extend( { ... 阅读全文
posted @ 2009-10-19 11:28 Rhythmk 阅读(6601) 评论(1) 推荐(0)

Rhythmk 个人笔记