i am trying to create a program that will search a website that is on a SSL, and find out certain information by navigating and searching it.
the code i have used for this works within a page on my local network but will not do that same kinda thing wen transmited over the web.
<input name="button" type="button" onClick="document.getElementById('iframe').contentDocument.getElementById('j_username').value = 'USERNAME';document.getElementById('iframe').contentDocument.getElementById('j_password').value = 'PASSWORD';" value="Go">
can anyone enlighten me on how i can do this.
mic2100
03-16-2006, 02:35 PM
also i wanna submit the form once it has inserted the username and password
felgall
03-17-2006, 01:38 AM
Javascript can't access pages that are not on the same domain as the page they are attached to or which are in the secure section of the domain while the Javascript is in the not secure section.
mic2100
03-17-2006, 04:11 PM
is there any other way in which i could do this, i have an old program made in VB which does the job a treat. How could i do this in either
PHP or C++
any help would be greatly received