Thursday, February 18, 2010

jQueryUI - datepicker on multiple elements by class

I was having some difficulties in placing numerous datepickers on the same form as I'd have to assign ids in my code...I didn't want to do that.
So i made jQuery assign the ID's for me. Loop through each..assign an ID...voila I now have fully functional datepickers on each element as designated by the 'datefield' class.

No comments:

Post a Comment