在做表单的时候比较有用,最常见是嵌在input;里面对元素直接使用的
<input type="text" id="fname" onblur="upperCase()"
/>
支持该事件的 HTML 标签:
<a>, <acronym>, <address>, <area>, <b>, <bdo>, <big>, <blockquote>, <button>, <caption>
在做表单的时候比较有用,最常见是嵌在input;里面对元素直接使用的
<input type="text" id="fname" onblur="upperCase()"
/>
<a>, <acronym>, <address>, <area>, <b>, <bdo>, <big>, <blockquote>, <button>, <caption>