<select name="selectFont" onChange="FormatText('fontname', selectFont.options[selectFont.selectedIndex].value);//document.form1.selectFont.options[0].selected = true;"//  style="font-family: 宋体; font-size: 9pt" onMouseOver="window.status='选择选定文字的字体。';return true;" onMouseOut="window.status='';return true;">将form1也改了frmAnnounce

解决方案 »

  1.   

    在FormatText()里也将用到的form1也改了frmAnnounce[selectFont.selectedIndex].value);document.form1.selectFont.options[0].selected = true将用到的form1也改了frmAnnounce
      

  2.   

    哪位高人给解释一下 FormatText()的用法。谢谢
      

  3.   

    上面各位高人我改了,但是只要将FORM!改为frmAnnounce后显示页面中的下拉框就不管用了.