Hi, got a question.
I'm working on a CPU-graph with ajax.
I now have a table that shows it's percentage.
I want to be able to, when I click on the table, it replaces the table with a <div> of the same size.
I already got all the code, and basically I'm just asking for table replacement on clicking it so no need to show any of that, i believe.
The base structure is like this:
<table width="300" height="200" onclick="--function to replace--">
content
</table>
<div id="chart" width="300" height="200"></div>
Thanks in advance.