就一段代码,这样也不能执行, 如果考虑兼容性要写些什么代码 function statrRequest(){ alert("aa"); //$("#target").load("Ajax.aspx"); //load方法作用:载入远程 HTML 文件代码并插入至 DOM 中。 }
你是不是把FireFox的JavaScript禁用了?
调用了FireFox的JavaScript//很简单的一段测试调用代码 function statrRequest(){ alert("aa"); //$("#target").load("Ajax.aspx"); //load方法作用:载入远程 HTML 文件代码并插入至 DOM 中。 }<input type=button value="GET" ondblclick= "statrRequest();"/>
function statrRequest(){
alert("aa");
//$("#target").load("Ajax.aspx");
//load方法作用:载入远程 HTML 文件代码并插入至 DOM 中。
}
function statrRequest(){
alert("aa");
//$("#target").load("Ajax.aspx");
//load方法作用:载入远程 HTML 文件代码并插入至 DOM 中。
}<input type=button value="GET" ondblclick= "statrRequest();"/>