PepperPepsi
Programmer
Hi, i'm trying to do a auto submit function when user login to my page, following is my code<br><br>document.write ("<FORM ACTION=auto.html>"<br>document.write ("<INPUT TYPE=HIDDEN.... some hidden field"<br>document.write ("</FORM>"<br>document.forms[0].submit()<br><br>it does go to the auto.html page, however it will open a new window, is there any way i can make it to load to the same window? <br><br>PS. i try self.document.forms[0].submit() but it still pop up a new window, and for some reason, i don't want to use "location" to redirect the page.<br><br>thanks <br>Pepsss