demo.html 652 B

12345678910111213141516171819
  1. <html>
  2. <head>
  3. <meta http-equiv="content-type" content="text/xml; charset=utf-8" />
  4. <script language="javascript" type="text/javascript" src="WdatePicker.js" ></script>
  5. </head>
  6. <body>
  7. <form name="form1" method="post" action="">
  8. <p>
  9. <input type="text" name="textfield">
  10. </p>
  11. <p><input name="user.birthday" id="birthday" class="Wdate" type="text" size="14" value="" onClick="WdatePicker({skin:'default',dateFmt:'yyyy-MM-dd'})"/> </p>
  12. <p>&nbsp;</p>
  13. <p><input name="info.addtime" id="addtime" class="Wdate" type="text" size="24" value="" onClick="WdatePicker({skin:'default',dateFmt:'yyyy-MM-dd HH:mm:ss'})"/></p>
  14. </form>
  15. </body>
  16. </html>