本帖最后由 yjier 于 2009-12-08 17:44:00 编辑

解决方案 »

  1.   

     我的代码是这样的 
    <div id='id1'>
      <form>
       <input type='text'>
       <input type='submit'>
      </form>
    </div>
    <div style='none' id='id2'> 
     <form>
        名称: <input type="text" name='brand_name' class="but">
        <?
          $oFCKeditor = new FCKeditor('content') ;
          $oFCKeditor->BasePath = './inc/FCKeditor/';
          $oFCKeditor->Value = $r['text'];
          $oFCKeditor->Create() ;
          $output = $oFCKeditor->CreateHtml() ;
        ?>
        <a href="javascript:document.permission_submit.submit()"> <img src="images/tijiao.gif" border="0">
      </form> 通过Jquery对两个div 进行切换,产生上面的报错。但是将id=id2 的div 的style='none'去掉,直接显示两个div 则报错消失。这个问题的解决实在是不好解释,但上面的方法确实修改了我的问题。