I have a table of data that shows different population numbers. I want to put a button above the table so that when clicked all the numbers are converted to % of totals (without reloading the page). Can't seem to find a tutorial for something like that, Has anyone seen any tutorials for it?
hi, You can do this using jquery by making an request to another page where you can process the data as you like and then response of the request is over write to main page.
It's easy : #1 Compute the target cells . #2 Fetch the values . #3 Process the values . #4 Erase the old data and insert the new one using the target data from step one .