Home All Groups Group Topic Archive Search About


Author
12 Mar 2006 10:34 PM
Paul W Smith
I have an ASP page with some form elements on it, as well as an inline frame
called 'body'.

Depending on element is selected when the form is submitted different ASP
pages appear in the inline frame.

<form Name=aSelect method=Get action=Test.asp target=body>

<Input type="radio" name="Radio" value=0)

Using this the line passed to the inline frame = Test.asp?Radio=0

This all works.

I now want to add a second inline frame to the page and have a different
page displayed in this.  The page to be displayed needs to reference the
selection made in the form.  Something like Otherpage.asp?Radio=0

Can anyone tell me how to achieve this, how to fire two actions from a form.

Paul Smith

Author
13 Mar 2006 2:45 PM
Slim
Show quote
"Paul W Smith" <pwsNOSPAM@twelve.me.uk> wrote in message
news:4414a1e1$0$9226$ed2619ec@ptn-nntp-reader01.plus.net...
>I have an ASP page with some form elements on it, as well as an inline
>frame called 'body'.
>
> Depending on element is selected when the form is submitted different ASP
> pages appear in the inline frame.
>
> <form Name=aSelect method=Get action=Test.asp target=body>
>
> <Input type="radio" name="Radio" value=0)
>
> Using this the line passed to the inline frame = Test.asp?Radio=0
>
> This all works.
>
> I now want to add a second inline frame to the page and have a different
> page displayed in this.  The page to be displayed needs to reference the
> selection made in the form.  Something like Otherpage.asp?Radio=0
>
> Can anyone tell me how to achieve this, how to fire two actions from a
> form.
>


why don't you action the form to the parent page, then you can get the 2
urls from fields in the form and use them to load your 2 frames


Show quote
> Paul Smith
>

AddThis Social Bookmark Button