I’m working with the jqueryui datepicker on this page – http://jqueryui.com/demos/datepicker/
How do I call it on a label instead of an input field? Is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haven’t looked at the code but I suspect that it assumes that it’s attached to a
<input type="text">element.So assume that you must have that element.
You can hide the
<input>and interact with the datepicker via calls to its methods from your label events.