input组件的设置焦点和控制最大长度的设置 1、设置焦点 $(this.getElementByXid("input1")).focus(); 2、控制最大输入长度 $(this.getElementByXid("input1")).attr("maxlength",1); By jishuang|5月 10th, 2016|未分类|0 条评论 Share This Story, Choose Your Platform! FacebookTwitterLinkedInRedditTumblrPinterestVkEmail 评一波 取消回复 评论 Save my name, email, and website in this browser for the next time I comment.
评一波