[jQuery] Using multiple instances of datepicker generated via append()
Hi guys,
I have managed to get multiple instances of a jQuery datepicker working
using a technique found here http://tinyurl.com/d82fem
http://tinyurl.com/d82fem
The uploaded image probably explains better what I am trying to achieve,
using the 'append' function i'd like to duplicate a row (with all input
fields for the new row blank) while setting a different id for the
datepicker for each individual row, ideally increment the id by 1.
For instance, it would be 'datepicker1', 'datepicker2', 'datepicker3, and so
on (for each time the 'Add another row' button is clicked)
Can anyone suggest the best way of going about this?
http://old.nabble.com/file/p26514224/append-datepicker.jpg
append-datepicker.jpg
Thanks in advance,
Gav
--
View this message in context: http://old.nabble.com/Using-multiple-instances-of-datepicker-generated-via-append%28%29-tp26514224s27240p26514224.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home