title: Click on a javascript link within python?
body: <p>I am navigating a site using python's mechanize module and having trouble clicking on a javascript link for next page.  I did a bit of reading and people suggested I need python-spidermonkey and DOMforms.  I managed to get them installed by I am not sure of the syntax to actually click on the link.</p>
  
  <p>I can identify the code on the page as: </p>
  
  <pre><code>&lt;a href="javascript:__doPostBack('ctl00$MainContent$gvSearchResults','Page$2')"&gt;2&lt;/a&gt;
  </code></pre>
  
  <p>Does anyone know how to click on it? or if perhaps there's another tool.</p>
  
  <p>Thanks</p>