-
Frames
Hi all,
I have a form of asp message board. When the user enters data and clicks the
"submit" button, I want both it's page, and the "left" frame to be updated
with different/same-but-new pages.
How can it be done?
Thanks,
Doug
-
Re: Frames
left_frame.window.location.reload();
where "left_frame" is the name of the frame to be refreshed
if you want to refresh on submit use onSubmit event of the form
<form onsubmit="left_frame.window.location.reload();return true;">
hope this works,
Sergey.
"Douglas" <hot_n_cold_2000@hotmail.com> wrote in message
news:3a2e7986@news.devx.com...
> Hi all,
>
> I have a form of asp message board. When the user enters data and clicks
the
> "submit" button, I want both it's page, and the "left" frame to be updated
> with different/same-but-new pages.
>
> How can it be done?
>
> Thanks,
> Doug
>
>
-
Re: Frames
Thanks for the reply.
I am getting "'left' not defined" errors....
I am using:
<SCRIPT LANGUAGE="JavaScript">left.window.location.reload();</script>
with
<FRAME name="left"...
What am I doing wrong?
Thanks,
Doug
"Sergey" <skats@sequoianet.com> wrote in message
news:3a2e80d7$1@news.devx.com...
> left_frame.window.location.reload();
> where "left_frame" is the name of the frame to be refreshed
>
> if you want to refresh on submit use onSubmit event of the form
>
> <form onsubmit="left_frame.window.location.reload();return true;">
>
> hope this works,
> Sergey.
>
> "Douglas" <hot_n_cold_2000@hotmail.com> wrote in message
> news:3a2e7986@news.devx.com...
> > Hi all,
> >
> > I have a form of asp message board. When the user enters data and clicks
> the
> > "submit" button, I want both it's page, and the "left" frame to be
updated
> > with different/same-but-new pages.
> >
> > How can it be done?
> >
> > Thanks,
> > Doug
> >
> >
>
>
-
Re: Frames
Try this:
parent.left.window.location.reload();
If it doesn't work, try web.dhtml.general or web.dhtml.scripting news
groups, they should know.
Sergey.
"Douglas" <hot_n_cold_2000@hotmail.com> wrote in message
news:3a2e86bb$1@news.devx.com...
> Thanks for the reply.
>
> I am getting "'left' not defined" errors....
>
> I am using:
>
> <SCRIPT LANGUAGE="JavaScript">left.window.location.reload();</script>
>
> with
>
> <FRAME name="left"...
>
> What am I doing wrong?
>
> Thanks,
> Doug
>
> "Sergey" <skats@sequoianet.com> wrote in message
> news:3a2e80d7$1@news.devx.com...
> > left_frame.window.location.reload();
> > where "left_frame" is the name of the frame to be refreshed
> >
> > if you want to refresh on submit use onSubmit event of the form
> >
> > <form onsubmit="left_frame.window.location.reload();return true;">
> >
> > hope this works,
> > Sergey.
> >
> > "Douglas" <hot_n_cold_2000@hotmail.com> wrote in message
> > news:3a2e7986@news.devx.com...
> > > Hi all,
> > >
> > > I have a form of asp message board. When the user enters data and
clicks
> > the
> > > "submit" button, I want both it's page, and the "left" frame to be
> updated
> > > with different/same-but-new pages.
> > >
> > > How can it be done?
> > >
> > > Thanks,
> > > Doug
> > >
> > >
> >
> >
>
>
-
Re: Frames
Thanks!
Later,
Doug
"Sergey" <skats@sequoianet.com> wrote in message
news:3a2eaa94$1@news.devx.com...
> Try this:
> parent.left.window.location.reload();
>
> If it doesn't work, try web.dhtml.general or web.dhtml.scripting news
> groups, they should know.
>
> Sergey.
>
> "Douglas" <hot_n_cold_2000@hotmail.com> wrote in message
> news:3a2e86bb$1@news.devx.com...
> > Thanks for the reply.
> >
> > I am getting "'left' not defined" errors....
> >
> > I am using:
> >
> > <SCRIPT LANGUAGE="JavaScript">left.window.location.reload();</script>
> >
> > with
> >
> > <FRAME name="left"...
> >
> > What am I doing wrong?
> >
> > Thanks,
> > Doug
> >
> > "Sergey" <skats@sequoianet.com> wrote in message
> > news:3a2e80d7$1@news.devx.com...
> > > left_frame.window.location.reload();
> > > where "left_frame" is the name of the frame to be refreshed
> > >
> > > if you want to refresh on submit use onSubmit event of the form
> > >
> > > <form onsubmit="left_frame.window.location.reload();return true;">
> > >
> > > hope this works,
> > > Sergey.
> > >
> > > "Douglas" <hot_n_cold_2000@hotmail.com> wrote in message
> > > news:3a2e7986@news.devx.com...
> > > > Hi all,
> > > >
> > > > I have a form of asp message board. When the user enters data and
> clicks
> > > the
> > > > "submit" button, I want both it's page, and the "left" frame to be
> > updated
> > > > with different/same-but-new pages.
> > > >
> > > > How can it be done?
> > > >
> > > > Thanks,
> > > > Doug
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks