I use jqGrid and add my own onclick event to each data cell when the grid has finished rendering.
jqGrid has a default behavior highlighting the onclick line. When I add my own onclick event after rendering the grid, my event overwrites the jqGrid event, as expected. I would like to save the jqGrid onclick event and just add my event to it.
How can I get the current onclick event for all elements matching a specific class and just add extra actions to the event? This is the current new onclick event.
Thanks!
$(".searchOrders").click(function() {
$('#tabs').tabs('url', 2, '/view/dspOrders.cfm?id_orders='+$(this).attr('title'));
$('#tabs').tabs('select', 2);
});
source
share