<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 20:28:29 +0000</lastBuildDate>
    <item>
      <title>(jQuery) Copy one element\'s eventhandlers to another - chlab</title>
      <link>https://snipplr.com/view/64750/copy-one-elements-eventhandlers-to-another</link>
      <description>&lt;p&gt;Here's a snippet for copying (all) the eventhandlers of one element to another with jQuery and effectively cloning the behavior of one element.&#13;
&#13;
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.&lt;/p&gt;</description>
      <pubDate>Thu, 26 Apr 2012 22:02:27 UTC</pubDate>
      <guid>https://snipplr.com/view/64750/copy-one-elements-eventhandlers-to-another</guid>
    </item>
  </channel>
</rss>
