IE浏览器输入框无法输入信息问题

2025-11-05 10:56:29

1、弹出框填写意见不能输入信息伟帽

IE浏览器输入框无法输入信息问题

2、jq: function focusTextarea(){ selectText($("#opinion")[0],0,0); }function selectText(textbox,startIndex,stopIndex){ if(textbox.setSelectionRange){       textbox.setSelectionRange(startIndex,stopIndex);  }else if(textbox.createTextRange){     var range=textbox.createTextRange(); range.collapse(true); range.moveStart('character',startIndex); range.moveEnd('character',stopIndex-startIndex); range.select(); } textbox.focus();}

IE浏览器输入框无法输入信息问题

3、jsp:

 <tr> <th>夏往审信针材批意见:</th> <td> <textarea rows="4" cols="50" style="width:300px" id="opinion" name="opinion"  maxLength="500" onclick="javascript:focusTextarea();"></textarea> </td> </tr>

IE浏览器输入框无法输入信息问题

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢