请帮着看一下。谢谢。
在输入文本时,为什么无法改变颜色,字体等功能。总是说缺少对象。请帮着看一下
<form name=form1 method = "post " action= "txlsadd.jsp " onsubmit= "return checks() ">
<table width= "747 " height= "549 " border= "1 ">
<tr>
<td width= "55 " align=right bgcolor= "#f1f1f1 " height= "65 "> <img src= "/bwl/images/images/lwcontent.gif " width= "41 " height= "42 "> </td>
<td width= "538 " bgcolor= "#e1ebba "> <b> 通讯录内容 </b> </td>
</tr>
<tr>
<td height= "42 "bgcolor= "#f1f1f1 ">
<div align= "right "> 标题: </div> </td>
<td bgcolor= "#e1ebba "> <input name= "title " type= "text " size= "40 " maxlength= "100 ">
<b> <font color= "#FF0000 "> 必填 </font> </b> </td>
</tr>
<tr>
<td height= "52 " valign=top bgcolor= "#f1f1f1 "> <div align= "right "> 正文: </div> </td>
<td bgcolor= "#e1ebba ">
<select name= "selectFont " id= "select " onChange= "setFont(this.options[this.selectedIndex].value) ">
<option selected> 选择字体 </option>
<option value= "宋体 "> 宋体 </option>
<option value= "黑体 "> 黑体 </option>
<option value= "隶书 "> 隶书 </option>
<option value= "幼圆 "> 幼圆 </option>
<option value= "仿宋_GB2312 "> 仿宋_GB2312 </option>
<option value= "Arial "> Arial </option>
<option value= "Times New Roman "> Times New Roman </option>
</select>
<select name= "selectSize " id= "select2 " onChange= "setSize(this.options[this.selectedIndex].value) ">
<option selected> 字体大小 </option>
<option value= "6 "> 6 </option>
<option valu