How to Javascript-write a graphic into a box

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi All,

Here's another question that has me foxed.  I am (now) using <select> lists to
have users spell a Hebrew word.  I'm using a javascript on_change() event
handler to catch and verify this.  I want to have the javascript do a
document.write() to display the correct image file (of the appropriate letter)
next to the drop-down lists.  How do I "goto" that point in the document and
trigger a redraw?


Re: How to Javascript-write a graphic into a box

On Sun, 29 Jun 2008 18:08:20 +0100, Jonathan Allen wrote:

Quoted text here. Click to load it

document.write cannot be used to change the page after the page is

Look at DOM usage, in particular createElement and its examples to
create a new element then insert it into the page.

Site Timeline