jQuery add/remove row

Posted by bocca on Stack Overflow See other posts from Stack Overflow or by bocca
Published on 2010-03-04T08:06:55Z Indexed on 2010/06/09 4:32 UTC
Read the original article Hit count: 210

Filed under:

I am trying to setup jQuery rows, with add/remove row functionality. I got started with online tutorial,

http://jsbin.com/aciba

that works fine. It only has input forms though. We need select to choose from.

Now, I made some changes to accept selects as as well as inputs:

http://jsbin.com/emata

This does not work. Try selecting option 3 in cell 1, and press add "Add". The row added gets default "Cell 1" selected option to 1.

What could be the reason?

© Stack Overflow or respective owner

Related posts about jQuery