window.onlaod must wait for all content in the Web page (including pictures) to be loaded to execute, not to write multiple
$ (document). Ready () after all the DOM structures in the Web page have been drawn, it is possible that the DOM element associated with the object has not been loaded and can write multiple, abbreviated $ ()
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01//en" "HTTP://WWW.W3.ORG/TR/HTML4/STRICT.DTD" >
<! doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/TR/html4/ Strict.dtd ">
Event bubbling
<! doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/TR/html4/ Strict.dtd ">
Event Object : The event object is created when the event is triggered. Using events in your program requires only adding a function to the function. This event object can only be accessed by an event handler function. Once the event handler has finished executing, the event object is destroyed.
Event.pagex Event.pagey Past to the x Y coordinate of the cursor relative to the page
<! doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/TR/html4/ Strict.dtd ">
removing events
<! doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/TR/html4/ Strict.dtd ">
This article is from "Avatar" blog, please make sure to keep this source http://shamrock.blog.51cto.com/2079212/1565173
jquery Learning Note Events in-jquery