Common events :

1. Mouse events :onClick,onDblClick,onMouseDown,onMouseUp,onMouseOut,onMouseOver

·onClick: Occurs when a page element is clicked ,onDblClick: Occurs when you double-click a page element

·onMouseDown,onMouseMove,onMouseOut,onMouseOver,onMouseup: Mouse events , Press the left button to release 、 Move the mouse over the page element 、 Pointer out of element range 、 Move into the specified element range for the first time 、 Occurs when the left key is released .

2. Keyboard events :onKeyPress,onKeyDown,onKeyUp.

·onKeyDown,onKeyPress,onKeyUp When the user presses a key but does not release it 、 When you click the keyboard 、 Occurs when the keyboard is pressed and then released .

3. Form Events :onSubmit,onReset,onChange,onSelect

·onSubmit: Occurs when a user submits a form

·onChange: Occurs when the user changes the value in the page , For example, select an item in the drop-down list .

·onReset: Occurs when the form data is reset

·onSelect: Occurs when the user selects text from the text box .

4. Read event :

·OnAbort: The user stops the browser and continues to download the image

·onError: When the browser has an error loading a web page or image

·onLoad: Occurs when an image or page loads

·onResize: Occurs when the browser or frame window is resized

·onUnload: Occurs when the user leaves the page .

·onFocus: When an object gains focus through user interaction , Click on the text box

·onBlur: When the object is no longer the focus . For example, after clicking the text box, click outside the text box .

5. Other events :

·onAfterUpdate(IE4): When an element binding data on the page finishes updating the data source

·onBeforeUpdate(IE4): The data in the element changes , And about to lose focus , Before the data source is updated

·onBounce(IE4): When the contents of a marquee element extend beyond the marquee boundary

·onHelp: Occurs when the browser's help button is pressed

·onMove(NS4): Occurs when a browser window or frame moves

·onReadyStateChange(IE4): Occurs when the state of the specified element is changed

·onRowEnter,onRowExit(IE4): After the record pointer of the current binding data source is changed 、 When it's going to change

·onScroll(IE4): Occurs when the user drags the scroll bar

·onStart: Occurs when the content in the marquee element begins to loop

js More related articles on event summary

  1. js Advanced 12 jquery Event summary

    js Advanced 12 jquery Event summary One . Common events Page load events ready() Document ready Events ( When HTML When the document is ready for use ) Mouse events click() Trigger . Or bind the function to the click things ...

  2. js Event related interview questions

    It's an interview question , In fact, it is equivalent to js A summary of the knowledge points in the event section . The simple content is taken with one stroke , For more information, I have provided reference links , They are all related articles written before .JavaScript There is no event model in itself , But the environment can have . DOM:add ...

  3. [ Re posting ]HTML5 Audio/Video label , attribute , Method , Event summary

    HTML5 Audio/Video label , attribute , Method , Event summary <audio> Tag attributes : src: Musical URL preload: Preloading autoplay: Auto play loop: Loop Playback co ...

  4. Call the hardware function of the mobile phone Summary (android/ios) Native.js Sample summary

    Native.js Sample summary NJS Native.JS  Example Native.js Although strong and open , But many web Developers are not familiar with native API And it's hard to do it alone . The purpose of this post is to summarize all kinds of well written NJS Code , convenient w ...

  5. front end Js Frame summary ( Look at the tools )

    front end Js Frame summary ( Look at the tools ) One . summary One sentence summary : Two . front end Js Frame summary summary : There are days when I don't blog , The era of rapid development of the Internet , The speed of technology update iteration is also accelerating . Look at Java.Js.Swift In each collar ...

  6. dynamic-css dynamic CSS library , So that you can use MVVM Patterns are generated and updated dynamically css, from js Events and css Out of the bitter sea of selectors

    dynamic-css So that you can use MVVM Patterns are generated and updated dynamically css, So this plug-in will come before , Break up . Nested in js The code to modify the style in is stripped out . For example, you need to make elements move with the mouse , Or depending on the position of the scroll bar ...

  7. What is? JS Event Bubbling ?

    What is? JS Event Bubbling ?: Trigger some kind of event on an object ( For example, click onclick event ), If this object defines a handler for this event , Then this event will call the handler , If this event handling is not defined Program or event returns true, that ...

  8. js Integration of event techniques and methods

    window.resizeTo(800,600); //js Set the browser window size window.open (function(){ resizeTo(640,480);// Set the browser window size moveT ...

  9. HTML5 Audio/Video label , attribute , Method , Event summary

    HTML5 Audio/Video label , attribute , Method , Event summary ( turn ) 2011-06-28 13:16:48   <audio> Tag attributes :src: Musical URLpreload: Preloading au ...

Random recommendation

  1. HTML as well as CSS The role and philosophy of the University

    First , Before learning , These are the things you need to know . What is? HTML, What is? CSS What's the use of them ? What can I do ? understand HTML and CSS Use of , It's better for us to be quick , Learn them efficiently . that , About both , I just use my popular language like ...

  2. Xu Hanbin :Web System concurrency on a large scale —— E-commerce second kill and rush to buy ( turn )

    [ Reading guide ] Xu Hanbin worked in Alibaba and Tencent 4 More than years of technology research and development work , Responsible for over 100 million requests per day Web System upgrade and reconfiguration , Now I'm starting a business in Xiaoman technology , be engaged in SaaS Service technology construction . Second killing and rush buying of e-commerce , For us , It's not a strange thing . ...

  3. sql Common grammar

    -- Add fields to the table if col_length('JX_DomesticStudy','XL') is null begin alter table JX_DomesticStudy add PXlev ...

  4. -- Investment Statistics sql

    -- Investment Statistics sqlselect BidRecord.*, RegInfo.UserName,UserInfo.phone,BorrowInfo.Title,BorrowInfo.BorrowC ...

  5. hdu - 2216 Game III &amp;&amp; xtu 1187 Double Maze ( Two points of common bfs)

    http://acm.hdu.edu.cn/showproblem.php?pid=2216 zjt and sara In the same map ,zjt To find sara,zjt Every move sara It's going to move in the opposite direction , If he ...

  6. Remember to use a bricklayer once VPS The experience of

    Because of their own needs Google, It used to be through modification hosts To access Google, But I don't know why I changed it recently hosts Still can't access Google, So I decided to build VPS To access the Internet scientifically , Took a look at the price , As a poor school ...

  7. Shell- Averaging

    Compute the Average Given integers, compute their average correct to three decimal places. Input For ...

  8. 【 Trees 】Populating Next Right Pointers in Each Node

    subject : Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode ...

  9. iOS monitor UILabel Click on

    label.userInteractionEnabled = YES; // Be sure to set [label addGestureRecognizer:[[UITapGestureRecognizer al ...

  10. docker Container migration across servers

    docker There are many backup methods export and save Two kinds of . export It's the current state , For containers ,docker save It's about mirrors images. export Find out which container to back up ID [[email protected] ...