-2

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

HelloWorld1
  • 13,688
  • 28
  • 82
  • 145
  • Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it. – Benjamin Gruenbaum Jun 28 '15 at 12:59
  • I don't understand why jQuery 1.10 would prevent you from using any datepickers. – JJJ Jun 28 '15 at 13:02
  • I don't understand, you telling me that any datepicker works to use even if they recommend this specific datepicker to use jquery 1.7? – HelloWorld1 Jun 28 '15 at 13:08
  • Well, yes, unless they specifically say that it won't work on anything newer. Have you actually tried it? And if it doesn't work, surely if you google for "jquery datepicker" you'll get literally dozens of other choices to try. – JJJ Jun 28 '15 at 13:10

1 Answers1

0

"I cannot select any datepicker because I'm using jquery-1.10.2", Unfortunately thats not right. It definitely works! Please follow the below snippet.

  $(document).ready(function(){
    $("#foo").datepicker();
});
 <!-- Load jQuery UI CSS  -->
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" />
<!-- Load jQuery JS -->
    <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <!-- Load jQuery UI Main JS  -->
    <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.min.js"></script>

<body>
  <input type="text" id="foo" />
  
  </body>
Sudhansu Choudhary
  • 3,322
  • 3
  • 19
  • 30