xheditor简单实例---可以正常工作 javascript

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>good work</title>
<script type="text/javascript" src="js/jquery/jquery-1.4.4.min.js" ></script>
<script type="text/javascript" src="js/xheditor-1.2.1.min.js"></script>
<script type="text/javascript" src="js/xheditor_lang/zh-cn.js"></script>
  <script type="text/javascript">
        $(function () {
            $(pageInit);
            var editor;
            function pageInit() {
               
				editor=$('#TopicEdit').xheditor({tools:'full',skin:'o2007blue',width:'1240',height:'500',upImgUrl:'upload.asp'});
            }
        })
        
    </script>



<textarea id="TopicEdit" runat="server" cols="25" rows="20" ></textarea><br/>
<div id="normalInput">这个实例可以很正常工作</div>
<input  type="button"  value="提交"  />

你可能感兴趣的:(JavaScript,html,utf-8,xheditor)