Working with Javascript elements
<p>I have some google map markers that sit on a map.  They are controlled by the rout-markers id.  When I do this command:</p>

<pre><code>document.getElementById('rout_markers').style.display = 'none';
</code></pre>

<p>I am able to make all existing markers disappear from the map, which is what I want.  But if new markers are added, I am not able to add them to the rout_markers element by doing this:</p>

<pre><code>document.getElementById('rout_markers').value = str;
</code></pre>

<p>I mean, the markers do appear on the map, just not in the rout_markers id and I can't pass them to the request when I need to.  Is there some way I can get the newly-created markers to get attached to the rout_markers id again?</p>

<p>Is this a generally accepted method of doing things in JS still?</p>

<p>Thanks,
Alex</p>
