perhaps someone can help me with this...
I am using the jQuery UI datepicker on one of my pages and I'd like to assign the start date and end date to variables so that I can use them to query my database.
Please let me know if you have any idea how this can be done.
Thank you very much!
The Datepicker widget outputs the selected value to a form field, so you'd just submit the form normally (or via ajax) and your PHP script will receive the dates as GET or POST variables.
how are you doing?
I did figure that out but I was thinking if it was possible to retrieve the values without submitting the form. But at this stage it isn't really that important.
(or via ajax)
The info has to get to the server somehow.
This topic is now closed. New replies are no longer allowed.