redbishop — 2014-01-15T05:56:02-05:00 — #1
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!
fretburner — 2014-01-15T06:18:17-05:00 — #2
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.
redbishop — 2014-01-15T10:18:22-05:00 — #3
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.
mittineague — 2014-01-15T10:23:43-05:00 — #4
(or via ajax)
The info has to get to the server somehow.