tags:

views:

45

answers:

2

I thought this was the syntax to clear out the value but its still present

document.getElementById("themapdirectionsaddress").value = '';

I am trying to hide the text below the map, i know the element is a class but i changed it locally to an id to test and still nothing

From I-4 take exit 104 Sanford/17-92. Head south on 17-92, note Lake Monroe will be on your left. Regatta Shores is approximately 1.5 miles ahead on the right.

A: 

Have you tried innerHTML?

document.getElementById("themapdirectionsaddress").innerHTML = '';
Rupert
+1  A: 

The syntax presented in your question is correct, here is an example of it working:

http://jsfiddle.net/pwC8v/

The page you link to doesn't load for me.

Note that value applies only to input elements.

Other elements may be cleared with innerHTML = ''.

Michael Robinson