ITeye博客

事件和控件

djob2008 · 2009-12-04 13:02 · javaScript · JavaScript · IE · Markdown

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>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。