I have the following code snippet to do array sort, it is working but I would like to make it a function that can take an array and a sort field as parameters and return the sorted array.
<script type="text/javascript"> var listitems = new Array();
I have a page that posts to itself, sometimes page get lengthy. I need to find a way to automatically scroll the browser window to the same position after the posting. e.g. If user scroll the browser window to the bottom, after posting, the browser scrolls to the bottom automatically.
I want to make columns 2 to 7 sortable. You might wonder why not just use existing plug-ins? The reason is the totals in the last row are calculated using server side algorithm, I don't have the same algorithm on client side. But if you know any plug-in can preserve the footer not being affected, I will happy yo use it too.