jQuery - Outputting jquery results to a hidden form field
Posted
by
Cecil
on Stack Overflow
See other posts from Stack Overflow
or by Cecil
Published on 2011-01-16T12:44:56Z
Indexed on
2011/01/16
12:53 UTC
Read the original article
Hit count: 189
jQuery
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,
© Stack Overflow or respective owner