A页面通过<jsp:include>引入B和C页面,其中B页面中有editor,这个是B页面引入editor的div
<div id="updateKnowledgeContainer" name="knowledgeLibrary.bodys" type="text/plain" style="width:800px;height:200px;"></div>
这个是js
<script type="text/javascript">
var updateEditor = UE.getEditor('updateKnowledgeContainer');
</script>
但是在ie上页面显示却是![](https://img-blog.csdn.net/20140418143157687?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvVG9uZ0h1YW5nWFg=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
通过调试后发现把js改成
<script type="text/javascript"> $(function(){ var updateEditor = UE.getEditor('updateKnowledgeContainer'); }); </script>
显示就正常了