jquery - Two datepickers are not displaying in a single htmlpage -
jquery - Two datepickers are not displaying in a single htmlpage -
i want maintain 2 datepickers in single html page while running displaying 1 date pickers .
the coding have done is
</head> <body> issue date(dd-mm-yyyy)<span class="star" style="color:red;">*</span> <!-- <input type="text" id="datepicker" />--> <script type="text/javascript"src="http://www.snaphost.com/jquery/calendar.aspx"></script> expiry date(dd-mm-yyyy)<span class="star" style="color:red;">*</span> <script type="text/javascript"src="http://www.snaphost.com/jquery/calendar.aspx"></script> </body> </html>
i have checked http://jqueryui.com/datepicker/
can give suggestion how solve problem.i using dreamweaver 8.
using jquery ui
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> </head> <body> issue date(dd-mm-yyyy)<span class="star" style="color:red;">*</span> <input type="text" id="datepicker" /> expiry date(dd-mm-yyyy)<span class="star" style="color:red;">*</span> <input type="text" id="datepicker2" /> <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <script type='text/javascript'> $("#datepicker").datepicker(); $("#datepicker2").datepicker(); </script> </body> </html>
jquery html css datepicker
Comments
Post a Comment