1
0
-1

Hi,

Does anyone know how can we get the value on change using timepicker? It works on datepicker, but not timepicker. Here is my code:


$('input[name="startTime"]').on( 'change', function() {

    alert("Hi!");

});

But, no value is popup. I even try using .click(), live.('click') also doesnt work. Appreciate if you guys can help.

Thanks.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Maybe you could try:

      <script>
      $(document).ready(function() {
          $('.timeselector-value').click(function() {
              alert("Hi!");
          });
      });
      </script>
        CommentAdd your comment...