title: How do I click on this button with Greasemonkey?
body: <p>I'm a total newbie with JS, and I'm trying to click on this button:</p>
  
  <pre><code>&lt;a class="simplebutton" href="javascript:void(0);"&gt;find&lt;/a&gt;
  </code></pre>
  
  <p><br>
  The XPath of this button is: <code>/html/body/div[5]/div/span[2]/a</code>, and a snapshot of the target page can be seen at <a href="http://jsfiddle.net/yd9TX/" rel="nofollow"><strong>this Fiddle</strong></a>.</p>
  
  <p>This is what I've tried, but it doesn't work. (I'm using the function <code>getElementsByClassName</code> which I got from <a href="http://code.google.com/p/getelementsbyclassname/" rel="nofollow">http://code.google.com/p/getelementsbyclassname/</a>):</p>
  
  <pre><code>document.getElementsByClassName('simplebutton').submit();
  </code></pre>