Quick-3.5 local editAccount,editPwd local function editBoxEventHandler(strEventName,pSender) local edit = pSender:getName() if strEventName == "return" then if edit == "editAccount" then local _delay = function () if not tolua.isnull(e
// input框输入1位数字后自动跳到下一个input聚焦 function goNextInput(el){ var txts = document.querySelectorAll(el); for(var i = 0; i<txts.length;i++){ var t = txts[i]; t.index = i; t.setAttribute("readonly", true); t.onkeyup=function(){ this.value=this.value.