小编Ale*_*lex的帖子

Javascript代码在Firefox中不起作用

在图像中单击我编写用于调用java的代码

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>New Page 1</title>
    </head>
    <body>
        <table cellpadding="0" cellspacing="0" width="311">
            <tr>
                <td height="14">
                    <img onclick ="SignIn();" border="0" src="../images/Sign_In.gif" width="80" height="28">
                </td>
            </tr>
        </table>
        <script type="text/javascript" language="JavaScript">
            function SignIn(){
                alert();
            }
        </script>
    </body>
</html>
Run Code Online (Sandbox Code Playgroud)

上面的代码在Internet Explorer中工作正常,但在FireFox中没有.问题是什么?

javascript firefox

1
推荐指数
1
解决办法
989
查看次数

Firefox中的刷新问题

在我的asp页面中有一个文本框名称"ProductName"

如果我在该文本框中写任何东西并刷新该页面,则在Firefox中不清楚文本框.但我在Internet浏览器中打开同一页面并在文本框中编写任何内容并刷新页面,我的文本框显而易见

为什么FireFox中的文本框不明确?

这是html代码

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<input type="text" id="ProductName" name="ProductName" style="width:235; height:20" value="">
</body>
</html>
Run Code Online (Sandbox Code Playgroud)

html firefox asp-classic

1
推荐指数
2
解决办法
8621
查看次数

如何从javascript调用click事件?

下面是我的asp(HTML)代码

<a id="More_Info" onclick ="window.top.location.href ='More_Info.asp?ussl=H&Start=<%=nRecCount%>&RS=<%=RecordStart%>;'" href="#">
Run Code Online (Sandbox Code Playgroud)

从我的javascript我的魔杖激活onclick ="window.top.location.href ='More_Info.asp?ussl=H&Start=<%=nRecCount%>&RS=<%=RecordStart%>;'"onclick事件...

<script type="text/javascript" >
{
//here i wand to activate the click event 
document.getElementById("More_Info").onclick // Something  like this
}
</script>
Run Code Online (Sandbox Code Playgroud)

html javascript

1
推荐指数
1
解决办法
3069
查看次数

如何升级varchar(8000)?

我想把我的varchar(8000)升级到更多的数据(我的意思是,我想增加8000)我将为此做些什么?

希望得到你的支持.

sql-server

0
推荐指数
1
解决办法
320
查看次数

如何检查当前日期大于结束日期?

在我的ASP页面中,我编写了如下代码来检查日期验证

<%
'Session 1
session.lcid=2057
Session("CheckIn")= "26/12/2009"
d=0
response.write session("CheckIn")&"----"&DateAdd("d",d,Session("CheckIn")) &"<br/>"

if session("CheckIn")= DateAdd("d",d,Session("CheckIn")) then
response.write "Session 1 is workings"
end if

'Session 2
a ="26/12/2009"
b ="26/12/2009"
if a=b then
response.write "Session 2 is workings"
end if
%>
Run Code Online (Sandbox Code Playgroud)

会话1中, “如果”条件不起作用。但是,如果我在会话2中以字符串格式写日期,则“ IF”条件有效。

如何在我的经典ASP页面的会话1中检查“ IF”条件

希望您的回应,

asp-classic

0
推荐指数
1
解决办法
5666
查看次数

标签 统计

asp-classic ×2

firefox ×2

html ×2

javascript ×2

sql-server ×1