`
djob2008
  • 浏览: 127217 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

事件和控件

阅读更多

 


http://javascriptkit.com/javatutors/event5.shtml

 

Event Handlers             Applicable inside:
onAbort                       <img> tags
onBlur                           window object, all form objects (ie: <input>), and <frame>.
onClick                          Most visible elements such as <a>, <div>, <body> etc.
onChange                     Use this to invoke JavaScript if the mouse goes pass some link
onError                         Text fields, textareas, and select lists.
onFocus                       Most visible elements such as <a>, <div>, <body> etc.
onLoad                        <body>, <img>, and <frame>
onMouseover               Most visible elements such as <a>, <div>, <body> etc.
onMouseout                 Most visible elements such as <a>, <div>, <body> etc.
onReset                        <form> tag, triggered when the form is reset via <input type="reset">.
onSelect                    Elements with textual content. Most commonly used inside text fields and textareas.
onSubmit                    <form> tag, triggered when the form is submitted.
onUnload                     <body>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics