473,545 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IFRAME and form variables

I have an ASP script in which I want to control the screen as two frames
If I use a FRAMESET this works fine but the frame geometry is fixed

the script uses POST and hidden fields to transfer the data from step to
step, what I would like is to be able to change the sizes of the frames
or even go from two frames to one and back to two as I go through the
dialogue. So I thought to use IFRAMES instead of a frameset, but now I
have two ASP scripts, one for the IFRAMEs and one for the code to run in
the iframe pages. The form fields are passed and seen by the top iframe
ASP but no longer by the lower code.

I hope that is clear enough
How can I get the form variables in to the lower script?
If not possible, am I better to use a database or server side session
variable to hold the data between steps?

CODE_A
sets one or two iframes with width
one frame runs CODE_B

CODE_B
runs the user dialogue and uses FROM and POST with hidden variables
the FORMs run CODE_A to get to the next step since I want to reset the
frame widths, but I have lost access to the form variables

all help welcome
John Wood
Jul 22 '05 #1
0 1243

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

Similar topics

9
3721
by: cakewalkr7 | last post by:
We have a form that contains an iframe. In the iframe are 3 select boxes (country, state and city). When you select the country, the iframe page refreshes with the appropriate states and does the same thing when you select a state. We did some testing in the different browsers with this method and it appeared that the only browser that it...
3
1817
by: cevatkerim | last post by:
Ok simple project! a login page with a hidden iframe when u click on submit after inserting your user and pass it pushes those values to iframe and asp query the db and returns a code if it is ok then whe whole page redirect to a url if not an error code is showed on the page how do I do this? I am really confused?!?!
3
3942
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then IsPostBack=False by now!. The ASPX is opened via client side script (into an iFrame) inside a .HTM file (as ASPX postback causes problems in a modal...
0
1563
by: John Shum | last post by:
My application, written in ASP.net, require some compulsory information from Session variables to load, these variables, will prepare from the logon pages. As I need to prepare a short-cut for another system written in another languages and in different server, to load some pages directly, I prepare a short-cut form, that prepare those...
5
2046
by: pbd22 | last post by:
hi. i have a hidden iframe for uploading files. when i check the httpfilecollection on the server, it is always zero - the files never make it to the server. i know all the javascript is working correctly on the client b/c i have followed the local variables using venkman. so, something is happening on the server.
4
19498
by: Jayyde | last post by:
Is there any way to capture a button click inside an iFrame and perform both an action on that page and one on the parent page? Basically I have a page atm that allows the user to add a record to a table and what I would like to have are save and cancel buttons (or maybe just a save button with a close image on the DHTML "window") on the...
0
1286
by: bnashenas1984 | last post by:
Hi I have a form which sends some variables. but i need to have an IFRAME inside this form which has its own variables. My question is if i can get this IFRAM's variables into my main page ( parent ) here is the first file 1.php <form action="1.php" method="post">
2
6853
by: mkhines | last post by:
I'm having trouble figuring out the proper way to pass this variable in with javascript alone. I'm not used to not being able to use jsp and all the love that is in that. Obviously I know little about javascript! So you get the whole story, the user will begin on a page which has an iframe in it that picks up a parameter...
0
7479
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7411
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7669
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7926
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5987
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4962
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1028
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.