title: jquery add more to a click function
body: <p>I have a function that is bound for a page object in some Javascript files that are loaded on each page.</p>
  
  <p>I need to add some more functionality to that already defined event handler. Here is an example of what i mean.</p>
  
  <p>The object with the currently defined click event closes a pop-up div that appears on the screen. When this is clicked (only on this certain page), i need it to reset some elements on the page.</p>
  
  <p>So, i can easily enough unbind the click event, and rebind a custom one, but it would be copying a lot of code from the original close event. </p>
  
  <p>If worse comes to worse, i can just do that, but i would like to avoid copying that code for this special case.</p>
  
  <p>Is there a way to, sort of, append more code on to a currently created event?</p>
  
  <p>thanks for any insight!</p>