摘要:
1、将文本框内的光标放在最后function cursor_to_end(id){ var txt_focus = document.getElementById(id); var txt_len = $("#"+id).val().length; if ($.browser.msie) { var range = txt_focus.createTextRange(); range.move("character", txt_len); range.select(); } else { var obj = $("#"+id).get 阅读全文