Pass to two Frames

D

Dthmtlgod

I want to pass the value to two frames and two pages after hitting the
submit button

If my form I have this
<form method="get" action="search2.asp" target="fSearch2">
I want to pass crPN to below as well
action="search3.asp" target="fSearch3"

I am having a little problem figuring this out.

Thanks in advance
DV
 
L

Lance Wynn

You will need to use some Javascript to do this.
one way is in the onclick event of a button, call form.submit() for both
forms.
This method assumes that the browser has Javascript enabled.

Another way, may be to post to the parent page, and then pass the values you
need to the iFrame pages in the src property as a query string. This would
not require the use of javascript, but you will be limited in the amount of
data you can pass.

There are probably plenty more ways to do this too.






I want to pass the value to two frames and two pages after hitting the
submit button

If my form I have this
<form method="get" action="search2.asp" target="fSearch2">
I want to pass crPN to below as well
action="search3.asp" target="fSearch3"

I am having a little problem figuring this out.

Thanks in advance
DV
 
B

Bob Barrows [MVP]

Lance said:
You will need to use some Javascript to do this.

You mean client-side code ... :)

Javascript can be used in server-side code.

Bob Barrows
 
L

Lance Wynn

Touche' Bob... Touche'


Lance said:
You will need to use some Javascript to do this.

You mean client-side code ... :)

Javascript can be used in server-side code.

Bob Barrows
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top