1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/html4/loose.dtd"> |
---|
3 | |
---|
4 | <html lang="en"> |
---|
5 | <head> |
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <title>untitled</title> |
---|
8 | <meta name="generator" content="TextMate http://macromates.com/"> |
---|
9 | <meta name="author" content="Adam van den Hoven"> |
---|
10 | <!-- Date: 2008-02-15 --> |
---|
11 | |
---|
12 | <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript" charset="utf-8"></script> |
---|
13 | <script src="http://marcgrabanski.com/code/ui-datepicker/core/ui.datepicker.js" type="text/javascript" charset="utf-8"></script> |
---|
14 | <link rel="stylesheet" href="http://marcgrabanski.com/code/ui-datepicker/core/ui.datepicker.css" type="text/css" media="screen" title="no title" charset="utf-8"> |
---|
15 | </head> |
---|
16 | <body> |
---|
17 | <table> |
---|
18 | <tr><td><label>Future Date:</label></td><td><input id="cal1" /></td></tr> |
---|
19 | <tr><td><label>Date: </label></td><td><input id="cal2" /></td></tr> |
---|
20 | </table> |
---|
21 | <script type="text/javascript" charset="utf-8"> |
---|
22 | jQuery(function($){ |
---|
23 | $("#cal1").attachDatepicker({ |
---|
24 | minDate:"1d" |
---|
25 | }); |
---|
26 | $("#cal2").attachDatepicker(); |
---|
27 | }) |
---|
28 | </script> |
---|
29 | </body> |
---|
30 | </html> |
---|