Closed user20161119 closed 8 years ago
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <!--Load Script and Stylesheet --> <script type="text/javascript" src="jquery.simple-dtpicker.js"></script> <link type="text/css" href="jquery.simple-dtpicker.css" rel="stylesheet" /> </head> <body> <input id="start_time" type="text" value="" /><br /> <input id="end_time" type="text" value="" /> </body> <script> function initTime(){ var d = new Date(); $('#start_time').val(d.getFullYear() + '-' + d.getMonth() + '-' + d.getDate() + " 16:30"); // Example Only - Set the end date to 7 days in the future so we have an actual $('#end_time').val(d.getFullYear() + '-' + d.getMonth() + '-' + d.getDate() + " 17:45 "); $('#start_time').appendDtpicker({ minDate:$('#start_time').val() }); $('#end_time').appendDtpicker({ minDate:$('#end_time').val() }); } window.onload = function(){ initTime(); }; </script> </html>
@mugifly I just tested the master branch using Firefox and the issue is not happening anymore
Thanks!