Strange bug with Dialog Box & IE6 - Ext JS

本文描述了使用DOMino对话框类打开页面设计元素时,在IE6浏览器中遇到的兼容性问题。当内容类型设置为DOMino时会出现未知运行时错误。通过对DOMino生成的HTML代码进行分析,发现了一个可能导致该问题的原因:多余的<form>标签及其空的action属性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Jack,

I am using the dialog class to open up some page design elements from a Domino database and I noticed a strange error with IE6. When you create a page element in Domino you can specify the content type as either Domino, HTML or any other content type.

If you specify the content type to be Domino it throws an error in IE6 on line 18, "Unknown runtime error". This was not the case in 0.33. I have been doing some comparisons with Domino generated HTML and normal HTML and I think I have found the cause of the problem.

Here is a simple page output of Domino generated HTML for a page element"

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body text="#000000" bgcolor="#FFFFFF">
<form action="">This is a test page in Domino</form>
</body>
</html>

Notice that there is a form tag with an empty action attribute. Domino should not even be creating a form element since this is not even a form! Oh the lovely nuances of Domino development always keep it interesting. :lol:

For now I am going to convert the exisitng pages to HTML and make sure all new page content is created in HTML. Not sure if this is a Domino issue, EXT issue, or IE issue (works fine in Firefox), but I thought I should let you know of any bugs, so here is one more for the books.

Keep up the excellent work!

Thanks

Eli
Reply With Quote
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值