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.
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.
<INPUT class="input_style15" type=submit value="Enter" onclick="window.open(test_script());" name=get_button>
when button is clicked, it shows the error- HTTP 404 page not found.
Need help, Thanks in advance.