Start – End Date/Time range
-
hi, i test for use range with this
https://xdsoft.net/jqplugins/datetimepicker/#rangebut not work, use this code:
jQuery(document).ready(function( $ ){ jQuery(function(){ jQuery('.date1 input[type=text]').datetimepicker({ format:'DD/MM/YYYY h:mm a', onShow:function( ct ){ this.setOptions({ maxDate:jQuery('.date2 input[type=text]').val()?jQuery('.date2 input[type=text]').val():false }) }, timepicker:true }); jQuery('.date2 input[type=text]').datetimepicker({ format:'DD/MM/YYYY h:mm a', onShow:function( ct ){ this.setOptions({ minDate:jQuery('.date1 input[type=text]').val()?jQuery('.date1 input[type=text]').val():false }) }, timepicker:true }); }); });
thanks
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Start – End Date/Time range’ is closed to new replies.