Guest User

Untitled

a guest
Jan 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <head>[enter image description here][1]
  2. <link rel="stylesheet" type="text/css" media="all" href="http://www.edak.cf/select_date_ir/datepicker.css" >
  3. </head>
  4.  
  5. <body>
  6.  
  7. ****<form action="" method="post">
  8. <div class="input-dte">
  9. From : <input id="inputpickerr" class="input" name="From" type="text" placeholder="JALALI DATE" />
  10. To: <input id="inputpicker" class="input" name="To" type="text" placeholder="JALALI DATE" />
  11. <input name="submit" type="submit" />
  12. </div>
  13. </form>****
  14.  
  15.  
  16. <script type="text/javascript" src="http://www.edak.cf/select_date_ir/jalali.js"></script>
  17. <script type="text/javascript" src="http://www.edak.cf/select_date_ir/calendar.js"></script>
  18. <script type="text/javascript" src="http://www.edak.cf/select_date_ir/calendar-setup.js"></script>
  19. <script type="text/javascript" src="http://www.edak.cf/select_date_ir/calendar-fa.js"></script>
  20. <script type="text/javascript">
  21. Calendar.setup({
  22. inputField: "inputpicker", // id of the input field
  23. inputField: "inputpickerr", // id of the input field
  24. button : "inputpicker", // trigger for the calendar (button ID)
  25. button : "inputpickerr", // trigger for the calendar (button ID)
  26. ifFormat : "%Y-%m-%d", // format of the input field
  27. dateType : 'jalali',
  28. weekNumbers : false
  29. });
  30. </script>
  31.  
  32. </body>
Add Comment
Please, Sign In to add comment