The key to using the method for validation is to compare the updated index to the length of the original input string.
使用该方法验证的关键在于将更新过的索引和初始输入字符串的长度进行比较。
Use the event handler’s index to select the input out of the global input list.
使用事件处理程序的索引来从全局输入列表中选择输入值。
Each event handler receives an index as input value.
每个事件处理程序都会接收到一个索引作为输入值。
应用推荐