Difficulty in understanding jQuery's Event Objects -



Difficulty in understanding jQuery's Event Objects -

i'm learning jquery , stuck in event objects i'm not getting 4 event objects,i've gone through jquery docs i'm not getting

where 4 event object in action pratically ?

preventdefault() isdefaultprevented() stoppropagation() ispropagationstopped()

hoping quick , positive response..

preventdefault() used stop default action event beingness fired. example, if attached custom callback link's click event, preventdefault() prevent page opening (perhaps create ajax call?).

stoppropagation() used stop event bubbling dom parent element. example, if had tree menu , wanted apply custom callback hover event, not parents, utilize function.

the other 2 check whether above 2 have been used yet.

jquery

Comments

Popular posts from this blog

ios - Fragment Shader GLSL for texture, color and texture/color -

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -