Skip to main content

Search and Top Navigation

#4515 closed enhancement (notabug)

Opened May 05, 2009 02:59AM UTC

Closed May 07, 2009 01:15PM UTC

Last modified June 04, 2009 09:39AM UTC

how can I get an instance of an UI plugin?

Reported by: easonkie Owned by:
Priority: major Milestone: 1.8
Component: ui.core Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

I checked the code in ui.core.js in which it gets the instance of an ui-plugin in this way 'instance= $.data(this[0], name);'. However, how can I retrieve it in this condition?


var inst1 = $('#id123').plugin1();


Attachments (0)
Change History (2)

Changed May 07, 2009 01:15PM UTC by jzaefferer comment:1

resolution: → invalid
status: newclosed

$("#id123").data("plugin1");

Please post question like this to the discussion lists: http://docs.jquery.com/Discussion

Changed June 04, 2009 09:39AM UTC by rdworth comment:2

milestone: 1.7.21.8