Reputation: 3687
Basically whenever a date is picked, nothing is run. Fiddle
$(document).ready(function () {
$("#date1").datepicker({
onSelect: function () {
alert("HAHA");
}
});
});
The alert above doesn't run.
Upvotes: 0
Views: 89
Reputation: 57095
Change
<input id="date1" data-role="date" type="text">
to
<input id="date1" type="text">
data-role="date"
as it for jQuery Mobile to create a datepicker .
Upvotes: 1