「jQuery入門」$.extend(src)の使い方

1.$.extend(src)
$.extend({ welcome:function(){alert('welcome’);} });

2.$.fn.extend(src)
$.fn.extend({ welcome:function(){alert('welcome’);} });

3.$.extend({net:{}});
$.extend($.net,{ welcome:function(){alert('welcome’);} })

JavaScript

Posted by arkgame