473,385 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Pass to two Frames

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
Jul 22 '05 #1
3 1577
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.


"Dthmtlgod" <do************@netzero.net> wrote in message
news:ef****************@TK2MSFTNGP09.phx.gbl...
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

Jul 22 '05 #2
Lance Wynn wrote:
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

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #3
Touche' Bob... Touche'
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:ef****************@TK2MSFTNGP11.phx.gbl...
Lance Wynn wrote:
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

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Doru Roman | last post by:
Hi, I have a page that calls a multiple frames page (ASP). I need to send parameters from the first to the multi frames page. If sending to a simple page, it works. If sending to multiple frames...
2
by: H | last post by:
Ok, this is the scene ... I have an indexfile, in which I specify 2 frames. ( yeah! I know they're evil, but this comes from an assigment in school, whick I am adding some stuff to, so I can...
4
by: LarryM | last post by:
Hi, A newbie-question: I would like to send in a parameter with the starting link. I suppose I can do this with: 'http://www.mySite.com?param=xxx'. But I cannot figure out how to read that...
3
by: DCB | last post by:
Hello. I have an easy question, likely, that has me in a headspin. I have an include file to a frames based site that basically forces frames on the end user if they visit the site and hit a...
1
by: i_dvlp | last post by:
I'd like to pass a dynamic parameter or argument to a frameset, and use it as a param for the src also. I could use php to do this, but can't think of another way. I know there are JS methods ...
5
by: Logos | last post by:
I'm having trouble with this in IE; annoyingly it works beautifully in FF. My keywords are not specific enough to narrow my search to useful entries on google, way too many hits, so here I am...
0
by: Venkata Rama | last post by:
Pass data to frames main page from popup window through hidden fileds and frames main page should get refrshed .Please give example . Regards Rama Venkata Enike
2
by: simon | last post by:
Hello, relatively new .net programmer. using vb.net (v2.0) I have an aspx page that contains 2 user controls (ascx) on it. the left control is basically navigation hyperlinks the right control...
3
by: swetha123 | last post by:
hello, I don't know how to use cookies please help me in this I am using the dream weaver cs4 I designed the navigation bar to my page using dream weaver cs4 navigation bar contains...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.