Click here to Skip to main content
14,921,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my jquery ui date picker is working on forefox but not on internet explorer.
can anyone help me.
Posted
Comments
thatraja 10-Jul-11 7:12am
   
Please tell us the error message. check errors exists in firefox error console or javascript debugger.
Wonde Tadesse 10-Jul-11 15:40pm
   
How did you use it? Can you post your code ?

1 solution

Make sure that you are using the following reference in the header and those scripts are loading properly using. You can ensure the script loading on firefox by enabling Net in firebug. Or you can catch any kind of script error using javascript debugger.

Step1:

XML
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js" type="text/javascript"></script>

XML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/base/jquery-ui.css" type="text/css" media="all" />
            <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />

XML
<script type="text/javascript">
      $(function () {
          $("#<%= tbxDate.ClientID %>").datepicker({
              changeMonth: true,
              changeYear: true
          });
      });
  </script>


Step:2
<asp:TextBox ID="tbxDate" runat="server" ></asp:TextBox>


Ref. Here

Please let me know your update. :)
   
v2
Comments
Rubaba 10-Jul-11 17:04pm
   
thank you habib.
Monjurul Habib 11-Jul-11 4:25am
   
my pleasure

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