* onkeyup先排除一些特殊按键,再检验未通过验证的元素或者最后一个执行验证的元素即被修改的元素; * onclick验证未通过验证的复选框、下拉框、单选框; .
基于10个网页-相关网页
OnKeyUp :Fires when the user releases a key.
当释放键盘时触发交互行为。
OnKeyUp and validate are the functions that define the logic of the widget.
onKeyUp和validate是两个函数,定义了小部件的逻辑。
This is actually superior to the onkeyup type of event shown in the HTML input in Listing 1.
这确实要比清单1中HTML input所用的onkeyup事件类型更高级。
应用推荐