http://jsfiddle.net/cblaze22/Duzr4/1/
Is there a way around getting http://fgelinas.com/code/timepicker/ to work nice with inputs that have the same ID/Name?
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.
No, you can’t force jQuery to play nice with invalid HTML a document with duplicated
idattributes is invalid; from the fine specification:and in your case, the home subtree is probably your whole page.
Fix your HTML to not duplicate
idattributes and switch to a different selector:or add a class to your
<input>s and select on that class:and:
Demo: http://jsfiddle.net/ambiguous/VhBXK/