Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (34 sloc) 1.25 KB
<!DOCTYPE html>
This is a jQuery Tools standalone demo. Feel free to copy/paste.
CSS files should not be referenced from when in production.
<title>jQuery Tools standalone demo</title>
<!-- include the Tools -->
<script src=""></script>
<!-- standalone page styling (can be removed) -->
<link rel="stylesheet" type="text/css" href=""/>
<!-- dateinput styling -->
<link rel="stylesheet" type="text/css" href=""/>
<div> </div>
<form action="/">
<!-- HTML5 date input -->
<input type="hidden" id="dob" name="dob"/>
<input id="mydate" type="date" name="mydate" format="d mmmm yyyy"/>
<!-- make it happen -->
format: "d mmmm yyyy",
change: function() { $("#dob").val(this.getValue('yyyy-mm-dd')); }
<input type="submit" value="Submit">