Thursday, September 15, 2011

jQuery UI's calendar controls are really easy to use

datepicker is easy to use:

<script>

   $(function () {

      $("#foo").datepicker();

      $("#bar").datepicker();

      $("#baz").datepicker();

   });

</script>

   

<form action="/" method="post">

   <input id="foo" name="foo" type="text" value="" />

   <br />

   <input id="bar" name="bar" type="text" value="" />

   <br />

   <input id="baz" name="baz" type="text" value="" />

   <br />

   <input type="submit" value="Go" />

</font>

No comments:

Post a Comment