将光标放到input内容的最后

在使用setSelectionRange方法的时候一定要加setTimeout,否则无效,代码
posted @ 2016-10-25 13:33  周截棍的双杰伦  阅读(534)  评论(0编辑  收藏  举报