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
|
|
|