The instance is create on just the first call, any additional calls
with that signature have no effect at all. To create a new instance
for the selected element(s), you'd have to call .accordion("destroy")
first.Jörn On Wed, Jul 29, 2009 at 11:16 AM, Neil Craig<[email protected]> wrote: > > I was wondering what effect repeating widget instantiation would have > on memory usage in the browser... > > For example, calling $("#accordion").accordion(); repeatidly, does the > jQuery UI library have some sort of cache that it checks before > applying the widget all over again? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" 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-ui?hl=en -~----------~----~----~----~------~----~------~--~---
