界面加载第一个text获取焦点(光标)

$("#ID").focus();

原文地址:https://www.cnblogs.com/wangtiantian/p/4994922.html