I am trying to set a time range (e.g. from 9am to 3pm only). So far, I have only been able to set the default time.
$('#time').trigger('datebox', {"method":"set", "value":"06:00 PM"});
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.
Sorry, it isn’t supported. It looks like days and years are the only thing that support a min and max. This probably wouldn’t be difficult to add to the code if you fork his repo.
You can view all options, documented and undocumented, by looking at the source on github https://github.com/jtsage/jquery-mobile-datebox/blob/master/js/jquery.mobile.datebox.js