We didn't add a disable plugin to jQuery, we added a disable function
to the jQuery object returned by makeNewButton().  Maybe I need to
look at how the object is cloned but it seems to just clone the DOM
elements and then rewrap it with a jQuery object.  That is how I am
assuming the disable() function is lost.

On Mar 7, 8:02 am, Dave Methvin <[email protected]> wrote:
> > var button = makeNewButton().addClass('TestButton').appendTo(parent);
>
> > Later we might want to disable the button with button.disable().  As
> > of 1.3.2, this is no longer possible as appendTo does not return the
> > original object.
>
> But it in that case, the button variable has the element(s) that were
> appended to parent. Isn't that what you want? It's true that they're
> clones, but does that hurt anything? If you've added a .disable()
> plugin to jQuery it should still work on the button object.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to