I am trying to code a game program in js that will allow the user to click on a "Roll Dice" button that calls a js function to randomly display various images of dice. My problem is that I cant find a way to display the images where I want. The only way so far I know is to use document.write but that creates a new page that displays only the image(s). What I want is for the images to appear in a certain cell of a table. This seems like it should be fairly easy to do but I cant find any information on the web.. Please help!