Chain dynamically created dropdowns with JQuery

Posted by ricardocasares on Stack Overflow See other posts from Stack Overflow or by ricardocasares
Published on 2011-04-04T22:53:53Z Indexed on 2012/09/07 21:38 UTC
Read the original article Hit count: 238

I'm building some kind of indefinite filters for an app, and I'm havin this problem when I clone some selects.

The things is this selects are chained between them, trough the Chained Selects jQuery plugin.

The problem is that every time I clone the selects, the chaining stops working, and I've tryed everything, such as .live() to make it work, but it seems I'm out of luck :D

Here you have a sample of what I'm talking about, http://jsfiddle.net/7K2Eu/63/

At first, the selects chain normally, but when I clone the form, they stop working, except for the first row of selects.

Thank you!!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery