How to set certain element values to null in JavaSctipt
<p>I have some items I am storing in an element that get added at various times like this:</p>

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

<p>I am not too good with JavaScript, but as I understand it, the values get stored as an array, correct?  </p>

<p>What I need to do is to be able to remove all the elements or to be able to remove the last element that was added.  </p>

<p>How can I do that?
Thanks!</p>
