为什么日期选择器不能与FireFox一起使用 [英] why date picker not working with FireFox

查看:96
本文介绍了为什么日期选择器不能与FireFox一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net fw4中使用日期选择器,但在ffox中不起作用
在IE中很好用

此处是脚本文件

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: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>

推荐答案

而不是"ctl00_ContentPlaceHolder1_TextBox6",您可以给出<%= TextBox1.ClientID%>"我认为这是一种查询语法
instead to ''ctl00_ContentPlaceHolder1_TextBox6'' u can give "<%=TextBox1.ClientID %>" i think this is a j query syntax


能否请您发布您在Firefox中遇到的JavaScript错误,因为这将有助于找出问题所在.
Can you please post the javascript error that you are getting in Firefox as that will help to find out the issue.


这篇关于为什么日期选择器不能与FireFox一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆