onchange 事件会在域的内容改变时发生。 onchange 事件也可用于单选框与复选框改变后触发的事件。 转载于:https://www.cnblogs.com/hello321/p/7822969.html