Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/474.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 带有firefox 3.6的ajax ModalPopupXtender显示在页面底部_C#_Javascript_Asp.net Ajax - Fatal编程技术网

C# 带有firefox 3.6的ajax ModalPopupXtender显示在页面底部

C# 带有firefox 3.6的ajax ModalPopupXtender显示在页面底部,c#,javascript,asp.net-ajax,C#,Javascript,Asp.net Ajax,我有一个modalpopup扩展器,它在IE(8)上工作,在FF上不工作 我在谷歌搜索了几个小时,但还没有找到解决方案 我有这个密码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> /背景色:#ffffdd/ 背景色:白色; 边框宽度:3倍; 边框样式:实心; 边框颜色:黑色; 填充:3倍

我有一个modalpopup扩展器,它在IE(8)上工作,在FF上不工作

我在谷歌搜索了几个小时,但还没有找到解决方案

我有这个密码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
/背景色:#ffffdd/ 背景色:白色; 边框宽度:3倍; 边框样式:实心; 边框颜色:黑色; 填充:3倍; 宽度:670px

}

代码正在使用javascript对此进行调用,它确实执行了.show(),如下所示:

if (xmlHttp.readyState == 4) {
if(xmlHttp.status==200){ 如果(xmlHttp.responseText.length>0){ var div=$(“div[id$=divAddNewRows]”[0];//document.getElementById('divAddNewRows'); div.style.display=''; div.innerHTML=xmlHttp.responseText; //使用popupmodal extender显示 $find(“modal2”).show()

} } } 否则{ //警报(“出现错误,请稍后重试。如果问题仍然存在,请与支持部门联系并引用错误代码3,状态代码“+xmlHttp.status”); }

在第一个“if”之前,它将调用xmlhttpobject,这可以正常工作

谁能帮我一下吗


致以最良好的祝愿。

就此放弃。改用jQuery。

放弃了这一点。改用jQuery

<div id="divAddNewRows" style="display: none;" class="modalPopup" enableviewstate="false">
.modalPopup {
if (xmlHttp.readyState == 4) {
// default to first textbox, if we can. 
try {
 $("#savefield0")[0].focus();
}
catch (err) {
 // do nothing
 var noop = err;
}