Let's say I have a page like this:
What would I have to do in order to modify the text inside each of those cells when the link is clicked, using JavaScript, without reloading the entire page?
Code:
<html><body>
<table border="1"><tr>
<td>
left cell
</td>
<td>
right cell
</td>
</tr></table>
<a href="javascript:something()">Change Text</a>
</body></html>
What would I have to do in order to modify the text inside each of those cells when the link is clicked, using JavaScript, without reloading the entire page?