阅读:2522回复:3
firefox——html编辑器 数据怎么获取?
<IFRAME class="HtmlEditor" ID="HtmlEditor" name="HtmlEditor" onBlur="getEDIT()" style=" height:286px;width:100%" frameBorder="0" marginHeight=0 marginWidth=0 src="blank.htm"></IFRAME>
以下语句,在ie下可以,但是firefox不行? editorHTML = document.getElementById('HtmlEditor').contentWindow.document.body.innerText 那么firefox——html编辑器 数据怎么获取? ----------wait online-----------------Thanks! ![]() |
|
1楼#
发布于:2005-10-15 17:49
应该把 innerText 改为 innerHTML 就可以了,不过我没试过
|
|
2楼#
发布于:2005-10-15 17:49
|
|
3楼#
发布于:2005-10-15 17:49
可以的
|
|