Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>[enter image description here][1]
- <link rel="stylesheet" type="text/css" media="all" href="http://www.edak.cf/select_date_ir/datepicker.css" >
- </head>
- <body>
- ****<form action="" method="post">
- <div class="input-dte">
- From : <input id="inputpickerr" class="input" name="From" type="text" placeholder="JALALI DATE" />
- To: <input id="inputpicker" class="input" name="To" type="text" placeholder="JALALI DATE" />
- <input name="submit" type="submit" />
- </div>
- </form>****
- <script type="text/javascript" src="http://www.edak.cf/select_date_ir/jalali.js"></script>
- <script type="text/javascript" src="http://www.edak.cf/select_date_ir/calendar.js"></script>
- <script type="text/javascript" src="http://www.edak.cf/select_date_ir/calendar-setup.js"></script>
- <script type="text/javascript" src="http://www.edak.cf/select_date_ir/calendar-fa.js"></script>
- <script type="text/javascript">
- Calendar.setup({
- inputField: "inputpicker", // id of the input field
- inputField: "inputpickerr", // id of the input field
- button : "inputpicker", // trigger for the calendar (button ID)
- button : "inputpickerr", // trigger for the calendar (button ID)
- ifFormat : "%Y-%m-%d", // format of the input field
- dateType : 'jalali',
- weekNumbers : false
- });
- </script>
- </body>
Add Comment
Please, Sign In to add comment