Ticket #4240: datepicker.html

File datepicker.html, 954 bytes (added by ihumanable, 11 years ago)

Datepicker HTML Test Case

Line 
1<!DOCTYPE html>
2<html>
3  <head>
4    <link rel="stylesheet" href="theme/ui.all.css" />
5    <script type="text/javascript" src="jquery-1.3.1.js"></script>
6    <script type="text/javascript" src="jquery-ui-personalized-1.6rc6.js"></script>
7    <title>Datepicker Error Test</title>
8  </head>
9  <body>
10    <input type="text" id="startdate" />
11    <input type="text" id="enddate" />
12    <br /> <br />
13    <input type="button" value="Init Startdate" onclick="$('#startdate').datepicker({showOn: 'both', buttonImage:'cal.gif', buttonImageOnly:'true'});" />
14    <input type="button" value="Init Enddate" onclick="$('#enddate').datepicker({showOn: 'both', buttonImage:'cal.gif', buttonImageOnly:'true'});" />
15    <br /> <br />
16    <input type="button" value="Destroy Startdate" onclick="$('#startdate').datepicker('destroy');" />
17    <input type="button" value="Destroy Enddate" onclick="$('#enddate').datepicker('destroy');" />
18  </body>
19</html>