[Javascript] Redirect within same frame....

Ben ben at babelfish.co.uk
Mon May 21 19:43:38 CDT 2001


> How do i redirect a page to replace it self.  I have a page with
> a top,left
> and main frame?   When i redirect using JAVA...the whole page is replaced!

You need to redirect the frame specificly.  I think it's something like
window.framename.location = "page.html"

> Is it possible to submit a form automatically?

Yes. frmMyForm.submit()

> Can i redirect a page to itself?

Look into the .reload() method.

Some stuff that might be of use to you:


http://www.wondersky.com/etech/programming/javascript/code_refresh_buton.htm
 http://www.webreference.com
 http://www.webreference.com/js/tips/000406.html
 http://www.webreference.com/js/tips/browse.html?cat=ur&start=1

Hopt this helps,

 .b





More information about the Javascript mailing list