rhattb
11-27-2002, 10:23 AM
I have a page with an imagemap on it. When the user selects a particular area, I want to show various details relating to that area beneath the map.
I'm using Javascript to process the imagemap results, all of which I can do OK, except that I can't get the results to display beneath the map. They always come up onto a new page.
I don't want to write into a textbox or textarea, I need to write into a 'free' area, such as between <SPAN> or <DIV> tags. I can't get the syntax right to do this. I've tried all the combinations of document.write, document.formname.write, etc. that I can think of, but can't get it to work. I also need to write HTML into the same area.
Any help would be appreciated.
Rob
I'm using Javascript to process the imagemap results, all of which I can do OK, except that I can't get the results to display beneath the map. They always come up onto a new page.
I don't want to write into a textbox or textarea, I need to write into a 'free' area, such as between <SPAN> or <DIV> tags. I can't get the syntax right to do this. I've tried all the combinations of document.write, document.formname.write, etc. that I can think of, but can't get it to work. I also need to write HTML into the same area.
Any help would be appreciated.
Rob