Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
08-27-2011, 10:50 PM #1
- Join Date
- Aug 2011
- Thanked 0 Times in 0 Posts
For school I'm supposed to write a JS code which visits a website, and then clicks on a button on that website. I used the document.location method to visit the web page, but then if I use the document.forms.elements.click() function to click a button, nothing happens. The click() function has always worked for me when the JS code is embedded in the web page, but its not in this case because the code has to click a button on an external website. So how can I do this? I just need me Javscript program to visit a site, and then click a button on that site. Please help, thanks.
08-28-2011, 05:56 AM #2
Can't be done with normal browser coding with arbitrary pages.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.