shuytu 2015-01-21 00:55 采纳率: 0%
浏览 2033

FCKeditor提交后台如何获取表单的值

 <form action="sysAdmin.do?method=updateSysAdmin" method="post" name="beizhu" id="beizhu">
        <script type="text/javascript">
            var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
            var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
            oFCKeditor.BasePath = sBasePath ;
            oFCKeditor.Height   = 300 ;
            oFCKeditor.Value    = '' ;
            oFCKeditor.Create() ;
        </script>
        <br />

        <input type="submit" value="Submit" />
    </form>
  • 写回答

3条回答 默认 最新

  • shuytu 2015-01-21 00:56
    关注

    补充代码段

    var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Height = 300 ; oFCKeditor.Value = '' ; oFCKeditor.Create() ;
    
    
    评论

报告相同问题?