11.7 针对表单的事件

1.      针对表单的

Form input select textarea

type=”radio/checkbox/password/button/text/submit/reset/”

 

表单的事件

onchange  当表单内容被修改时触发的事件

onfocus  获取焦点事件

onblur  失去焦点事件

表单里的内容用.value div中内容用innerHTML

原文地址:https://www.cnblogs.com/liancai001/p/10043964.html