1、弹出框填写意见不能输入信息
2、jq: functio艘绒庳焰nfocusTextarea(){ selectText($("#opinion"像粜杵泳)[0],0,0); }functionselectText(textbox,startIndex,stopIndex){ if(textbox.setSelectionRange){ textbox.setSelectionRange(startIndex,stopIndex); }elseif(textbox.createTextRange){ varrange=textbox.createTextRange(); range.collapse(true); range.moveStart('character',startIndex); range.moveEnd('character',stopIndex-startIndex); range.select(); } textbox.focus();}
3、jsp:<tr> <th>审批意见:</th> <td> <textarearows="4"cols="50"style="width:300px"id="opinion"name="opinion"maxLength="500"onclick="javascript:focusTextarea();"></textarea> </td> </tr>