PDA

View Full Version : getelementbyid not working



frega
Mar 28th, 2010, 11:51 AM
http://johnathany.com/contact.html

What I'm trying to do is get the googlemaps iframe to change if i hit to corresponding 3 links at the bottom.

So I tried to use getElementById(leftcolumn).innerhtml to change the entire content of the div but it isnt working. Please advise.

Or would there be a simpler solution like creating 3 hidden divs and just do display:block; to display them?

edit: hmm i think i post on the wrong section, gonna repost in javascript section.