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

时间:2026-04-22 21:28:37

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浏览器输入框无法输入信息问题

© 2026 手抄报圈
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com