Elegir una fecha desde un Calendario que sale


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <link rel="stylesheet" href="../css/ui-lightness/jquery-ui-1.8rc3.custom.css" type="text/css" />
  2. <script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
  3. <script type="text/javascript" src="../js/jquery-ui-1.8rc3.custom.min.js"></script>
  4.  
  5.  
  6. <script type="text/javascript">
  7. //<![CDATA[
  8. $(document).ready(function(){
  9. $('#fecha').datepicker();
  10. });
  11. //]]>
  12. </script>
  13.  
  14.  
  15.  
  16. <body>
  17.  
  18. <form action="#" method="post">
  19. <fieldset>
  20. <label for="fecha">Fecha:</label>
  21. <input type="text" name="fecha" id="fecha" />
  22. </fieldset>
  23. </form>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.