Deprecated: Assigning the return value of new by reference is deprecated in /home/chickens/public_html/wp-settings.php on line 512

Deprecated: Assigning the return value of new by reference is deprecated in /home/chickens/public_html/wp-settings.php on line 527

Deprecated: Assigning the return value of new by reference is deprecated in /home/chickens/public_html/wp-settings.php on line 534

Deprecated: Assigning the return value of new by reference is deprecated in /home/chickens/public_html/wp-settings.php on line 570

Deprecated: Assigning the return value of new by reference is deprecated in /home/chickens/public_html/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /home/chickens/public_html/wp-includes/query.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /home/chickens/public_html/wp-includes/theme.php on line 1109
chickenskinners.com » Blog Archive » Bubbles and propagation

Bubbles and propagation

Dicsovered something useful today. One of those things you might scour the internet for and almost find the answer but not quite. Basically if you want to stop propagation of event through the DOM the events cannot be inline.

For example to stop an onclick event bubbling up it must be assigned along the lines of:

thing.onclick = dosomething;

not like this:

For more detail about this subject look here:

Comments

Leave a Reply

Subscribe

Who Am I?

No Sweat Apparel.com