I'm using jqGrid and adding my own onclick event to each cell of data when the grid has completed rendering.
jqGrid has default behavior of highlighting a row onclick. When I add my own onclick event after the grid renders, my event overwrites the jqGrid event as expected. I would like to preserve the jqGrid onclick event and just add my event to it.
How can I get the current onclick event for all elements matching a certain class and just append more actions to the event? This is my current new onclick event.
Thanks!
$(".searchOrders").click(function() {
$('#tabs').tabs('url', 2, '/view/dspOrders.cfm?id_orders='+$(this).attr('title'));
$('#tabs').tabs('select', 2);
});