-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Description
I'm trying to add an event handler for the "change" event but its not firing when the time selection has changed. A trigger() causes the appropriate action to complete. I prepared a test, and I get the same results there :
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link type="text/css" rel="stylesheet" href="jquery.timepicker.css" media="all" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="jquery.timepicker.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#time').timepicker({
'timeFormat': 'h:i A',
'scrollDefaultTime': '10:00'
});
$('#time').on('change', function(){
console.log("in change");
});
});
</script>
</head>
<body>
<input type="text" id="time" />
</body>
</html>
Metadata
Metadata
Assignees
Labels
No labels