I want to bind a click event with the element:
$('a').click(function(){ btn_submit_pressed=false; });
Now, I want to bind this click event with an element which has onClick attribute values, like this:
<a href="javascript:;" onclick="win_zip('fwrite', 'ext3_00', 'ext3_01', 'ext3_02', 'ext3_03');">
<img width="91" height="20" src="<?=$board_skin_path?>/ez.img/post_search_btn.gif" border=0 align=absmiddle>
</a>
How can I select all the elements which have values in onClick attributes?