I have two DIVs with unique ids "map" and "state-info". "Map" contains a set of links in an image map and the content of "state-info" is supposed to change depending on the user clicking a link in "map".
To be exact, the content of "map" is a map of my country and "state-info" is supposed to contain a table of registration locations per state which will change as you click on the hotspot corresponding to each state in "map".
The problem I'm having is I can't find a way to dynamically insert a table, list, or any other formatted HTML construct into a DIV using the innerHTML attribute or any other way that I can see. I'm still investigating but I would certainly appreciate some help here.