title: how to execute javascript on another page?
body: <p>I have a javascript code, i don't know what exactly that code does. I was told to execute that script on a button click and that worked fine.</p>
  
  <p>But i need to run that script on another tab, actually they want that when button is clicked it should open another tab and that script should run on new tab.I am using this code to run the script on another page and it's not working.</p>
  
  <pre><code>&lt;INPUT class="input_style15" type=submit value="Enter" onclick="window.open(test_script());" name=get_button&gt;
  </code></pre>
  
  <p>when button is clicked, it shows the error- HTTP 404 page not found.</p>
  
  <p>Need help, Thanks in advance.</p>