Title doesn’t actually reflect what I’m trying to explain. Is it possible to achieve below with jQuery
<a href="#" onclick="alert('test');">test</a>
when users clicks on test link jQuery takes control over default alert function and displays a jQuery modal window or something similar doesn’t really matter.
Here is an example where the default alert is never called. Instead the popup is displayed. Not certain if calling the default alert is requirement.
http://jsfiddle.net/pBsw6/
Hope this helps.
Bob