Is there a way to make a $(selector).click(function) run before, or preceed, an inline onClick="function"?
Also, if possible, I would like to stop the inline function from running entirely (by using preventDefault() inside the $(selector).click()).
Here's a fiddle to illustrate the precedence: http://jsfiddle.net/yUZWR/1/