I have many links in a HTML-table, which delete corresponding row, when clicked (calling a PHP-script via GET parameter).
They all have a class delete_row
you can use preventDefault method of the event object in the handler function:
jQuery('.delete_row').click(function(event){ if(!confirm('Really Delete?')){ event.preventDefault(); } })