Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Adding combos on the fly
posted

Hi, 

I've got a form where I'm adding rows using jQuery's .append(), it looks a lot like this.

[container]

[Input type=text] [input type=IGCOMBO] [add another row button]

[/container]

That works fine because the first line is hardcoded but for all subsequent rows I've been using .append() on the container when you press the [add another row button] to add a new row like this:

[container]

[Input type=text] [input type=IGCOMBO] [add another row button]

[Input type=text] [input type=XXXXX] 

[/container]

Because I'm using .append, I'm struggling to get the [input type=XXXXX] to become an igCombo as they're created.

Sorry about the description but if this makes any sense and anyone has any ideas, that would be much appreciated.

Thanks alot.

  • 20255
    Offline posted

    Hello Sean,

    I don't understand quite well what exactly is the issue that you are facing. You want to use some kind of jQyery/js selector in order to get the combo? Or you are trying to append some element to the combo which is already wrapped by our widget?