jQuery - trigger a custom event on a link
I am trying to run this custom 'getOffer()' event using jQuery
<a href="javascript: void getOffer();" title="Submit for offer"><img
src="images/img.jpeg"></a>
I have tried the following but it doesn't seem to work (I am using the
Firefox Firebug console.log window)
$('a[title="Submit for offer"]').trigger('getOffer');
This is the page I am trying this on: http://bit.ly/1dpIMFk Can anyone
suggest any ideas?
No comments:
Post a Comment