CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Refresh Frame

Print topic Send  topic

Author Message
kevin d
Posted: 10/12/2003, 5:52 PM

I have a framed site with a menu in grid on the left and forms on right.

I'd like to have the menu frame refresh whenever the form on the right is submitted. I'm looking for some event code that I could use to make this happen but, the usual parent.frames[contents].location.href= syntax is not working ?

Any suggestions ? This is Code Charge Studio 2 and ASP 3.0

Thanks !
kevin d
Posted: 10/12/2003, 6:07 PM

ok, I got it to work as a client event of onload page

parent.contents.location="contents.asp" - this refreshes the frame

I'd only like to do this when a form is submitted - any suggestions.

Thanks
RonB
Posted: 10/13/2003, 4:07 PM

I always use document.location.href="./someurl.php"

Ron
kevin d
Posted: 10/14/2003, 10:09 AM

FIXED - added an onload page event to refresh the menu panel on the left for the main pages of the site. Seems an onpage unload event wouldn't fire the update code for the left frame contents ?

Kevin

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.