Approach for Calling Custom JavaScript on Tabular Report Pagination Event?
786986Nov 21 2010 — edited Nov 21 2010What is a good approach for calling a custom javascript routine on tabular report pagination event.
I have a little js routine that does some hiding of some input fields in one column based on the value of a hidden field and have the js registered on jquery's version of window.onload like below:
<script type = "text/javascript">
// Define the entry point
$(document).ready(function()
{
//My JS and jquery calls.
}
</script>
The above is in my page Header.
Works great until i need to go to the second page of the tabular form and of course because its a partial refresh on the page the js routine doesn't get called again.
I am not sure what is the best approach for 'hooking' my js routine to be called after the pagination and/or tabular form has been refreshed. Appreciate any help, thoughts or best practice approach for calling a custom client side js routine after the tabular form has been refreshed.
Thanks,
Jeff