IE浏览器输入框无法输入信息问题
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>
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:91
阅读量:34
阅读量:34
阅读量:41
阅读量:87