Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Goal:
I'm looking for a datepicker for a website.

Question:
I cannot select any datepicker because I'm using jquery-1.10.2.

Do you know any datepicker that use jquery-1.10.2.?
It is only enough to retrieve the dates only.

Information:
*Unfortunatley, I cannot upgrade the jquery because the end users are using old web browser.
*I'm using ASP.net MVC and Bootstrap v1.6.3
Posted
Updated 16-Apr-17 23:34pm

All jQuery UI needs is jQuery 1.6+ - http://jqueryui.com/download/[^]
However for old browsers you will need jQuery UI 1.9 or before (IE 6 removed in 1.10)...
 
Share this answer
 
Comments
Afzaal Ahmad Zeeshan 28-Jun-15 9:53am    
+5, that is correct. jQuery 1.10-2 is already supported.

I have added the link to Datepicker object and a source sample, see Solution 2.
Kornfeld Eliyahu Peter 28-Jun-15 9:54am    
Thank you...
Sergey Alexandrovich Kryukov 28-Jun-15 11:41am    
5ed.
—SA
Kornfeld Eliyahu Peter 28-Jun-15 13:38pm    
Thank you...
I am not sure whether you tried to search for a result, or you simply just posted the question. But the Datepicker object of jQuery is already available for jQuery v1.10-2. It is not a jQuery object, but jQuery UI object.

Go to this link[^], and see it in action.

HTML
<html lang="en">
<head>

  <meta charset="utf-8">

  <title>jQuery UI Datepicker - Default functionality</title>

  <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" />

  <!-- jQuery 1.10-2 being used -->
  <script src="//code.jquery.com/jquery-1.10.2.js"></script>

  <!-- jQuery UI library -->
  <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>

  <link rel="stylesheet" href="/resources/demos/style.css" />

  <script>
  $(function() {
      $( "#datepicker" ).datepicker();
  });
  </script>

</head>

<body>

<p>Date: <input type="text" id="datepicker" /></p>

</body>
</html>


The above code would provide you with a Datepicker object in your HTML DOM. You can read more on that on the page I have provided you with.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 28-Jun-15 11:41am    
Sure, a 5.
—SA
Afzaal Ahmad Zeeshan 28-Jun-15 11:42am    
Thank you, Sergey.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900