bind a click then continue
Hi all,
I'm looking for a way to catch a click on a link, show a popup message then... continue with the action.
I have this:
- $('.hook a').click(function(event){
- event.preventDefault();
- alert("hello!");
- $(this).trigger('click');
- });
And this (obviously) go into an infinite loop.
how can I solve this isue?
Thanks to all.