title: This Page requires javascript. Please enable javascript in your Browser
body: <p>I'm trying to automate a data checking operation in a webpage(mozilla firefox browser) using the Greasemonkey addOn. When i try to execute this script i get an error like <em><code>"This Page requires javascript. Please enable javascript in your Browser"</code></em> in a new tab even though i enabled the Java script in the browser. Any possible reason/solution for this? My Greasemonkey script is as follows.</p>
  
  <blockquote>
    <p>// ==UserScript==</p>
    
    <p>// @name          Webmonkey's Hello World</p>
    
    <p>// @namespace     <a href="http://www.webmonkey.com" rel="nofollow">http://www.webmonkey.com</a></p>
    
    <p>// @description   </p>
    
    <p>// @include<br>
    <a href="http://www1.url.net/hydromet_dms/report_rainfall/show_rf_data_datetime_range" rel="nofollow">http://www1.url.net/hydromet_dms/report_rainfall/show_rf_data_datetime_range</a></p>
    
    <p>// ==/UserScript==</p>
    
    <p>document.getElementById("txt_station_num").value = "5000";// <strong>thisworks</strong> 
    document.getElementById("form1").submit();//<strong>But this wont
    work.</strong></p>
  </blockquote>
  
  <p>HTML part:</p>
  
  <pre><code>&lt;input type="submit" onclick="return validate_station();" value="Show Data" name="submit_param"&gt;
  </code></pre>