|
|
主题: js中有这样的方法吗?
|
 我知道
职务:普通成员
等级:4
金币:2.0
发贴:2211
注册:2002/2/8 13:02:46
|
#12002/7/25 8:04:46
其中FilterSourceCode()函数是js中提供的吗?因为我在文件中没有找到它的定义! 如果是js提供的函数,那它完成什么功能呢,是不是对中文支持有问题? 如何该呢?谢谢解答~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #################################################################################### function getHTML() { if (element.PageEdit) { // update the hidden form field with entire HTML if (bSourceEdit) html = element.editor.FilterSourceCode(element.editor.DOM.body.innerText); else html = element.editor.DocumentHTML; } else if (element.editor.DOM.body.innerHTML.length != 0) { if (bSourceEdit) html = element.editor.FilterSourceCode(element.editor.DOM.body.innerText); else html = element.editor.FilterSourceCode(element.editor.DOM.body.innerHTML); // check for default empty document and clear it if it exists } else { html = ""; } return html; }
|
 =ridincal=
职务:管理员
等级:7
金币:20.0
发贴:5886
注册:2004/1/13 11:47:04
|
#22002/7/25 10:11:52
没听说有这个JS Fuction,看看是否是连接的JS文件中定义的函数
|
 我知道
职务:普通成员
等级:4
金币:2.0
发贴:2211
注册:2002/2/8 13:02:46
|
#32002/7/25 10:39:28
后缀为.htc的是什么文件,和xml相关吗? 还有想这种东西:
|
 =ridincal=
职务:管理员
等级:7
金币:20.0
发贴:5886
注册:2004/1/13 11:47:04
|
|
 我知道
职务:普通成员
等级:4
金币:2.0
发贴:2211
注册:2002/2/8 13:02:46
|
|