Determine if an element is a jQueryUI Widget
Posted
by Boycs
on Stack Overflow
See other posts from Stack Overflow
or by Boycs
Published on 2010-05-24T06:03:23Z
Indexed on
2010/05/24
6:11 UTC
Read the original article
Hit count: 247
I have written a jquery-ui widget using the Widget Factory...
I need to be able to determine in code whether the element is already a widget or not...
My investmentGrid widget is created on #container with $('#container').investmentGrid()
I need to be able to determine elsewhere in the code if $('#container') is already an investmentGrid
© Stack Overflow or respective owner