Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - "on submit" how to refresh another frame
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

"on submit" how to refresh another frame

 Post Reply Post Reply
Author
edurran View Drop Down
Newbie
Newbie


Joined: 07 October 2003
Location: Spain
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote edurran Quote  Post ReplyReply Direct Link To This Post Topic: "on submit" how to refresh another frame
    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

Back to Top
rcalvert View Drop Down
Groupie
Groupie
Avatar

Joined: 24 July 2003
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote rcalvert Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2003 at 4:59pm
Will it work if you refresh the whole frameset
Back to Top
edurran View Drop Down
Newbie
Newbie


Joined: 07 October 2003
Location: Spain
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote edurran Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Diep-Vriezer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 August 2003
Location: Netherlands
Status: Offline
Points: 831
Post Options Post Options   Thanks (0) Thanks(0)   Quote Diep-Vriezer Quote  Post ReplyReply Direct Link To This Post 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..
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.