title: Data extraction by Python from a dynamic javascript page
body: <p>I have to extract the data from the table from the following website:</p>
  
  <pre><code>http://www.mcxindia.com/SitePages/indexhistory.aspx
  </code></pre>
  
  <p>When I click on GO, I get a table appended to the page dynamically. I want export those data from the page to a csv file(which I know how to handle), but the source code does not contain any data points.</p>
  
  <p>I have tried looking into the javascript code, when I inspect the elements after the table is generated, I get the data points, but not in the source. I am using mechanize in Python.</p>
  
  <p>I think it is because the page is getting loaded dynamically. What should I do/use?</p>