Print Page | Close Window

"on submit" how to refresh another frame

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=7490
Printed Date: 31 March 2026 at 11:22pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: "on submit" how to refresh another frame
Posted By: edurran
Subject: "on submit" how to refresh another frame
Date Posted: 22 November 2003 at 7:42am

Hello all,

I have a web page with two frames. Login and Navigation.

When a user logs in, they click "submit" on a form on the Login Frame 

My question in this. How can I cause the navigation frame to reload with parameters when a submit button is clicked on the Login Frame? ( "nav.asp?opt=1" )

Hoping someone can help,

Regards,

Eamon




Replies:
Posted By: rcalvert
Date Posted: 25 November 2003 at 4:59pm
Will it work if you refresh the whole frameset

-------------


Posted By: edurran
Date Posted: 26 November 2003 at 2:57am

The problem is that a refresh will cause the navigation page to refresh with the original parameters.

( "nav.asp?opt=0" )

However, I need the navigation page to refresh with "nav.asp?opt=1" when the user clicks the submit button.

Therefore a refresh will not suffice! But thanks anyway.



Posted By: Diep-Vriezer
Date Posted: 26 November 2003 at 3:23pm

Can't you add a little code there? The submit button automaticly sends a form to the page specified in the <form> tags. Or use javascript, like this

<input type="submit" OnClick="javascript:window.location('nav.asp?opt=1');">



-------------
Gone..



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net