Last active
February 18, 2020 09:24
-
-
Save rashid327/94d6c431839c5ccb9a2bbb1b6297dafa to your computer and use it in GitHub Desktop.
JQuery Date Picker example to disable previous dates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title></title> | |
<link href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" rel="Stylesheet" | |
type="text/css" /> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> | |
<script language="javascript"> | |
$(document).ready(function () { | |
$("#txtdate").datepicker({ | |
minDate: 0 | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
Date : | |
<input id="txtdate" type="text"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment