<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/propagation</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 00:58:12 GMT</pubDate>
<item>
<title>(jQuery) Making a table row clickable while preserving the function of additional links - theOtherOne</title>
<link>http://snipplr.com/view/41912/making-a-table-row-clickable-while-preserving-the-function-of-additional-links/</link>
<description><![CDATA[ <p>First: clicking on a table row forwards you to the URL given in the first As href attribute. ------ Second: clicking on a link inside the row triggers the default action **AND** a click event on the table row. This needs to be stopped, so the default action is replaced by our own and propagation to higher elements is stopped. ----- Nice to have: Hand cursor when hovering over a table row. CSS!</p> ]]></description>
<pubDate>Sat, 09 Oct 2010 03:00:03 GMT</pubDate>
<guid>http://snipplr.com/view/41912/making-a-table-row-clickable-while-preserving-the-function-of-additional-links/</guid>
</item>
<item>
<title>(JavaScript) click on an element across browsers - noah</title>
<link>http://snipplr.com/view/3336/click-on-an-element-across-browsers/</link>
<description><![CDATA[ <p>If you have assigned an event handler to a container, you might want to remotely trigger it as if a child of the container had been clicked.  That is, you might want to manually set the target of the 'event' object that is passed to the event handler on the container.  This helps to keep the number of event handlers down.</p> ]]></description>
<pubDate>Fri, 20 Jul 2007 18:08:37 GMT</pubDate>
<guid>http://snipplr.com/view/3336/click-on-an-element-across-browsers/</guid>
</item>
<item>
<title>(JavaScript) Stop event propagation (stop an event from bubbling up) - noah</title>
<link>http://snipplr.com/view/2810/stop-event-propagation-stop-an-event-from-bubbling-up/</link>
<description><![CDATA[ <p>This is useful if I have an element that is inside a container, and I want to the element's event handler to fire without triggering the container's event handler.  Then I would wrap the element's event handler function with this code.

See "PPK On JavaScript," pp. 315 and 323.</p> ]]></description>
<pubDate>Wed, 06 Jun 2007 12:09:40 GMT</pubDate>
<guid>http://snipplr.com/view/2810/stop-event-propagation-stop-an-event-from-bubbling-up/</guid>
</item>
</channel>
</rss>