[jQuery] Re: fn question

2009-07-30 Thread David .Wu
totally understand, thanks a lot On 7月30日, 上午7時39分, Jules wrote: > From the jquery pluginhttp://docs.jquery.com/Plugins/Authoring > Your method must return the jQuery object, unless explicity noted > otherwise. > > $('input#btn').btnClick().css("background-color","blue") won't work > for your 1s

[jQuery] Re: fn question

2009-07-29 Thread Jules
>From the jquery plugin http://docs.jquery.com/Plugins/Authoring Your method must return the jQuery object, unless explicity noted otherwise. $('input#btn').btnClick().css("background-color","blue") won't work for your 1st case but works for the 2nd one. On Jul 30, 3:14 pm, "David .Wu" wrote: >