Ermes Enea Colella
Ermes Enea Colella

Reputation: 151

Jquery UI: clone the widget

I need to dynamically create the Jquery UI widget. My idea is to have a widget hidden and use the function clone() for create them.. but the result I get is this: example

What's wrong? Thank you in advance for your help.

Upvotes: 2

Views: 1358

Answers (1)

Frédéric Hamidi
Frédéric Hamidi

Reputation: 263187

This is a known problem. The associated jQuery UI feature request can be found here.

This feature would require cooperation from all the jQuery UI widgets (through modifications to their init() methods). The dev team does not seem to be interested in implementing that now, though they might do so in the future.

Upvotes: 1

Related Questions