I have a link to a page on my site that has a data parameter in it. I want to use jQuery UI’s Datepicker to set the parameter for the link. I’ve used Datapicker before, but only in forms. Is there a way to use it to set a URL parameter in the link? Thanks for reading.
Share
You could create a text input that the date picker works with, but make the text input hidden. Then, you can bind a change event to the text input that will grab the date entered via the date picker into your URL parameter.