Get value from span class
<p>I want get value from <code>span</code>, like in example below</p>

<pre><code>&lt;span class="price bid down_trend"&gt;6259.00&lt;/span&gt;
</code></pre>

<p>but the class changes from <code>price bid down_trend</code> to <code>price bid up_trend</code> and there is my question:</p>

<p><strong>How get value from the span when the class was changing ?</strong></p>

<p>I think about something like that:</p>

<pre><code>var bidValue = document.getElementByClassName('price bid'); 
</code></pre>

<p>But did it be able to find the value of <code>span</code> ?</p>