Click here to Skip to main content
15,906,569 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i use date picker in my asp.net fw4 but is not work in ffox
it's work fine in IE

here script file

ASP.NET
<asp:TextBox ID="TextBox6" runat="server" CssClass="txboxcss"><a href="java<!-- no -->script:;">
                              önclick="javascript:displayDatePicker('ctl00_ContentPlaceHolder1_TextBox6',null,'ymd',null,'fa-IR')"
                            style="text-decoration: none">
                            <img src="images/calender.png" alt="" border="0"  height="20" width="20" />
                        </a>
Posted
Updated 4-Oct-11 1:08am
v3

instead to 'ctl00_ContentPlaceHolder1_TextBox6' u can give "<%=TextBox1.ClientID %>" i think this is a j query syntax
 
Share this answer
 
Can you please post the javascript error that you are getting in Firefox as that will help to find out the issue.
 
Share this answer
 
Comments
shahingmn 11-Oct-11 3:49am    
No error does not occur,nothing doesn't happen when clicking on it!
Talking Dotnet 11-Oct-11 5:49am    
There is no need to put a separate image for calendar button. jQuery UI datepicker comes with an option to show button.

Take a look at below article.
http://jquerybyexample.blogspot.com/2010/06/implement-jqueryui-datepicker-with.html

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