jQuery - Outputting jquery results to a hidden form field
- by Cecil
Hey All,
I was wondering how i could output the results from my jQuery to a hidden form field so i can then shove it into the database.
Im using the Calendar function found here - http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html
Apparently the following code gets the array, but im not sure how to forward it to the hidden field.
$('.date-picker').dpGetSelected()
From what i can tell i want the dpGetSelected to run with when the following is triggered dpClosed
Its all a bit confusing to me.
Any help would be great.
Cheers,