Date-picker should not break .click() handlers for other objects on the page.
Actual behaviour
My submit button does not get a click handler assigned when i reference the bootstrap-datepicker.min.js module. The datepicker works fine but the submit button does not.
When I remove the script src to bootstrap-datepicker.min.js and the datepicker() method, the submit button click handler works fine again.
Expected behaviour
Date-picker should not break .click() handlers for other objects on the page.
Actual behaviour
My submit button does not get a click handler assigned when i reference the bootstrap-datepicker.min.js module. The datepicker works fine but the submit button does not.
When I remove the script src to bootstrap-datepicker.min.js and the datepicker() method, the submit button click handler works fine again.
Datepicker version used
1.9.0
Details:
I inserted date-picker at the end of my
like this:My HTML looks like this:
My javascript looks like this:
Any Suggestions?? I feel like i must be missing something. Do i need to move the script reference or method somewhere?