Side navigation
Ticket #6887: test.html
File test.html, 0.9 KB (added by quqtalk, August 09, 2010 10:00AM UTC)
<html>
<head>
<link type="text/css" href="themes/base/jquery.ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="jquery-1.4.2.js"></script>
<script type="text/javascript" src="ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="ui/jquery.ui.datepicker.js"></script>
<script type="text/javascript">
$(function() {
$("#date1").datepicker({dateFormat: 'yymmdd' });
$("#date2").datepicker({dateFormat: 'yymmdd' });
});
</script>
</head>
<body>
<h1>Test</h1>
<form action="" method="post">
date1:<br><br>
<input id="date1" name="date1" type="text"><br>
date2:<br><br>
<input name="date2" type="text" id ="date2"><br><br>
<br>
<input type="submit" value="submit">
</form>
</body>
</html>
Download in other formats:
Original Format
File test.html, 0.9 KB (added by quqtalk, August 09, 2010 10:00AM UTC)
<html>
<head>
<link type="text/css" href="themes/base/jquery.ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="jquery-1.4.2.js"></script>
<script type="text/javascript" src="ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="ui/jquery.ui.datepicker.js"></script>
<script type="text/javascript">
$(function() {
$("#date1").datepicker({dateFormat: 'yymmdd' });
$("#date2").datepicker({dateFormat: 'yymmdd' });
});
</script>
</head>
<body>
<h1>Test</h1>
<form action="" method="post">
date1:<br><br>
<input id="date1" name="date1" type="text"><br>
date2:<br><br>
<input name="date2" type="text" id ="date2"><br><br>
<br>
<input type="submit" value="submit">
</form>
</body>
</html>