title: javascript - variable from HTML class?
body: <p>I am working with some HTML and JavaScript code. In the html there is a line:</p>
  
  <pre><code>&lt;b&gt;Project ID: &lt;span class="project_id"&gt;&lt;/span&gt;&lt;/b&gt;
  </code></pre>
  
  <p>Thus <code>class="project_id"</code> has a value associated to it and it is written to the page when loaded.</p>
  
  <p>I would like to use JavaScript to capture this value as a variable;</p>
  
  <pre><code>var pID = value of class="project_id"
  </code></pre>
  
  <p>Any ideas or is this even possible?</p>