<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - chlab</title>
<link>http://snipplr.com/users/chlab/tags/copy</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 08:50:02 GMT</pubDate>
<item>
<title>(jQuery) Copy one element\'s eventhandlers to another</title>
<link>http://snipplr.com/view/64750/copy-one-elements-eventhandlers-to-another/</link>
<description><![CDATA[ <p>Here's a snippet for copying (all) the eventhandlers of one element to another with jQuery and effectively cloning the behavior of one element.

Keep in mind that if it's possible, you should just register the same handlers you actually need, instead of just blindly copying all of them. But in some cases, e.g. when using a plugin that you do not wish to modify, this can come in handy.</p> ]]></description>
<pubDate>Thu, 26 Apr 2012 22:02:27 GMT</pubDate>
<guid>http://snipplr.com/view/64750/copy-one-elements-eventhandlers-to-another/</guid>
</item>
</channel>
</rss>