How to refresh or redraw a table when the cell contents change
The function PickImg chooses the image that will be displayed in each cell. The function IfClick decides if the image should be clickable by the user. Nrows and Ncols give the numbers of rows and columns. I have verified that these are operating correctly
I've got this working in the code. That is, the source for each image is set correctly in the generated HTML code. But nothing happens on the screen. No matter how many times I change the contents of the cells, the image on the screen stays the same. I want the table to be redrawn when the contents of any cell(s) change. (All images are the same size.)
Is there any way to tell the browser that the table should be redrawn? Is there any place where I could find the answer?