How to get return value of $(this).attr('onclick')
$(this) onclick event:
return confirm('Are you sure?');
On document ready, I put click bind code:
$('a').bind('click', function (e) {
//If return value is true
if ( 1 == 1 ) {
//Show progress div
}
}