adding multiple jquery spinners? please help

hi everyone,

I am trying to add jquery spinners on button click but instead of new spinner, a textbox is added.

below is my code :

div id=“ty”

/div’

I am talking about jquery ui spinner.

please help.

thanks in advance.

If I’m not wrong you are using the same ID for your spinners. Try using unique ID or a class name instead.

ram64 said

If I’m not wrong you are using the same ID for your spinners. Try using unique ID or a class name instead.

hi,

I tried that also, but not working when I add the spinner dynamically.

This works. I’ve changed to class names instead of id and called the spinner() method on the newly created input tag.


thanks a lot ram64 :).

its working. I am very thankful to you :slight_smile: