> 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
-~----------~----~----~----~------~----~------~--~---