Javascript - get span by the class?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3808808/how-to-get-element-by-class-in-javascript">How to Get Element By Class in JavaScript?</a>  </p>
</blockquote>



<p>I need to get the text from inside of a span. The span has no ID. It only has a class. There would only be one span with this class. Does anyone know how I can get this span element in javascript? Thanks!</p>

<pre><code>&lt;span class="galleria-current"&gt;1&lt;/span&gt;
</code></pre>
