fangzhi4972
Inscrit le: 25 Oct 2011 Messages: 951 Localisation: England
|
Posté le: Jeu Sep 12, 2013 3:37 am Sujet du message: it is as expected |
|
|
vividly detailed explanation of JavaScript bubble and capture ,[url=http://mkhandbags2013s.tumblr.com/]michael kors outlet online[/url]
Abstract: Text: Event order translation: blog the hh54188: Although proficient in jQuery, but the prototype JavaScript on it is not very understanding, in a recent study JavaScript has encountered some difficulties, such as bubbling and capture,[url=http://mkhandbags2013s.tumblr.com/]michael kors outlet store[/url], many times were mentioned, but I don't know what application where. Find...
text: Event order hh54188 blog:
Objective: Although proficient in jQuery,[url=http://mkhandbags2013.polyvore.com/]michael kors outlet online[/url], but the prototype JavaScript on it is not very understanding, in a recent study JavaScript has encountered some difficulties, such as bubbling and capture, many times were mentioned, but I don't know what applications where. Find some good articles doubts,[url=http://www.blogster.com/michaelkorswatches/]michael kors handbags outlet[/url], to share to everyone here. A series of articles
quirksmode is good, easy to understand,[url=http://www.blogster.com/michaelkorswatches/]michael kors handbags outlet[/url],[url=http://mkhandbags2013.polyvore.com/]michael kors outlet store[/url], this is a series of one article,[url=http://mkhandbags2013s.tumblr.com/]michael kors bags[/url], have the opportunity to JavaScript of this series are translated for you.
, sentences marked "(?)" I said to this sentence is not very understanding,[url=http://www.blogster.com/michaelkorswatches/]michael kors outlet online[/url], may be in error. Start:
the origins of the event occurrence order
this problem is very simple,[url=http://mkhandbags2013.polyvore.com/]michael kors watches[/url], you are in a nested element and another element
-----------------------------------
element1
------------------------- ------------------------- Element2
-----------------------------------
: and both have a onClick event handler (event handler). If the user clicks the element 2,[url=http://mkhandbags2013s.tumblr.com/]michael kors outlet[/url], the click event element 1 and element 2 are triggered. But what an event to be triggered? Which event handler is executed first? In other words, the order of events in the end how?
two kinds of model
it is as expected, in those "cannot bear to think of the past (" browser wars) days, Netscape and Microsoft have processing method of two distinct: event
Netscape claims that element 1 occurring in the first place,[url=http://mkhandbags2013s.tumblr.com/]michael kors watches[/url], this sequence of events is called capture
Microsoft remained element 2 has priority,[url=http://mkhandbags2013.polyvore.com/]michael kors handbags[/url], the the sequence of events is known as the bubble type
the two sequence of events is the opposite. Explorer browser supports only bubble event, Mozilla, both Opera7 and Konqueror support. >
Related Articles:
Related Articles:
[url=http://telanganafb.com/index.php?do=/blog/83661/inkpad-box-calculation/]inkpad box calculation[/url]
[url=http://html5dw.com/forum.php?mod=viewthread&tid=643303]computer use backward[/url]
[url=http://itdev.com.br/blog/view/422214/in-depth-understanding-of-its-connotation]in-depth understanding of its connotation[/url] _________________ burberry |
|