datePicker
[ class tree: datePicker ] [ index: datePicker ] [ all elements ]

example

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3.     <head>
  4.         <title>datepicker test</title>
  5.     </head>
  6. <body>
  7. <?php
  8.  
  9.     // include the class
  10.         require "../class.datepicker.php";
  11.  
  12.     // instantiate the object
  13.         $dp=new datepicker();
  14.     
  15. ?>
  16.  
  17. <p>
  18.     Shortest way to start using the date picker...
  19. </p>
  20. <pre style="font-size:11px;">
  21. // include the class
  22. require "../class.datepicker.php";
  23.  
  24. // instantiate the object
  25. $dp=new datepicker();
  26.  
  27. &lt;input type="text" id="date">
  28.  
  29. &lt;input type="button" value="..." onclick="&lt;?=$dp->show("date")?>">
  30. </pre>
  31.  
  32. <p>Click on the button to see it work</p>
  33.  
  34. <input type="text" id="date">
  35.  
  36. <input type="button" value="..." onclick="<?=$dp->show("date")?>">
  37.  
  38. </body>
  39. </html>

Documentation generated on Thu, 04 Sep 2008 10:13:49 +0300 by phpDocumentor 1.3.0RC6