title: jQuery get element by class
body: <p>I'm currently using a script called clamp.js to cut some text, and it currently selects it by ID. I want to use it so it selects by class. The script is like this:</p>
  
  <pre><code>var module = document.getElementById("clampjs");
  </code></pre>
  
  <p>How can I modify that line so it selects a certain "test" div class? thanks.</p>