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
Try this.
$('.delete_row').click(function(){ return confirm("Are you sure you want to delete?"); })