title: Function listener in JavaScript and/or jQuery
body: <p>Wondering if there is an elegant way to listen for a function in JavaScript and/or jQuery.</p>
  <p>Rather than listening for a <code>$('#mything').click(function(){ //blah })</code> I'd like to listen for when a specific function is fired off. I don't want to edit the function as it's within a library that I don't want to hack directly.</p>
  <p>I did find this: <a href="http://plugins.jquery.com/project/jqConnect" rel="nofollow noreferrer">http://plugins.jquery.com/project/jqConnect</a> which connects functions.</p>
  <p>But wondering about a better technique.</p>