title: Copying event handlers from one set of elements to another one using jQuery
body: <p>I have the following</p>
  
  <pre><code> var $header = $('.inner th');
   var $fixedHeader = $(".header1 th");
  
      $header.each(function (index) {
            // i need to copy all events from $header[index] to $fixedHeader[index]
      });
  </code></pre>
  
  <p>How do I copy the event handlers (onClick, onDblClick..etc) from elements in the first set to the adjacent elements in the second set?? I am novice to jquery and having hard time.</p>