473,396 Members | 1,755 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,396 software developers and data experts.

How do I post hidden variables to another form from a popup?

aaa
I am bringing up a popup which has a couple of fields that the user enters.
I fill the hidden fields then submit and close the popup which then reverts
back to my main form, which retrieves the hidden vars and does the database
operation. Seems straight forward enough but I have run into a few stumbling
blocks including submitting then closing the popup and reverting control
back to the main form to pick up the variables.

Someone has to have done this. Any help is appreciated.
Nov 19 '05 #1
2 1939
Encapsulate whatever you want to pass back from the popup to the caller into
one object and pass it in window.returnValue property.

Please ask more specific questions. What did you try and what problems did
you encounter?

Eliyahu

"aaa" <so*****@microsoft.com> wrote in message
news:e7**************@TK2MSFTNGP15.phx.gbl...
I am bringing up a popup which has a couple of fields that the user enters. I fill the hidden fields then submit and close the popup which then reverts back to my main form, which retrieves the hidden vars and does the database operation. Seems straight forward enough but I have run into a few stumbling blocks including submitting then closing the popup and reverting control
back to the main form to pick up the variables.

Someone has to have done this. Any help is appreciated.

Nov 19 '05 #2
aaa
I did put specifically what I was having trouble with:

"submitting then closing the popup and reverting control
back to the main form to pick up the variables"

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...
Encapsulate whatever you want to pass back from the popup to the caller into one object and pass it in window.returnValue property.

Please ask more specific questions. What did you try and what problems did
you encounter?

Eliyahu

"aaa" <so*****@microsoft.com> wrote in message
news:e7**************@TK2MSFTNGP15.phx.gbl...
I am bringing up a popup which has a couple of fields that the user

enters.
I fill the hidden fields then submit and close the popup which then

reverts
back to my main form, which retrieves the hidden vars and does the

database
operation. Seems straight forward enough but I have run into a few

stumbling
blocks including submitting then closing the popup and reverting control
back to the main form to pick up the variables.

Someone has to have done this. Any help is appreciated.


Nov 19 '05 #3

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

Similar topics

3
by: Robert | last post by:
Hello, Can anyone help with this? On my online order form, I need to send a few variables to my credit-card processor. These variables are for non-secure customer comments, and will be sent...
2
by: Omar E Contreras | last post by:
Hi guys, Let me explain what I want to do in just 3 steps: Step 1: An HTML page that has a form which passes some data to an aspx page Step 2: The aspx page take this values and add some...
6
by: Phillip N Rounds | last post by:
I have a webform, from which I have to submit info to another site. Their instructions are to have a html form, with the following as the submit: <form method="post"...
6
by: Eagle Rock | last post by:
Hi all, This is probably a simple question, but I'm just getting started in ASP.NET, and I can't find the answer. I have a simple form with a "Submit" button. When the user clicks on the...
7
by: | last post by:
Hello, I would like to do the following from a asp.net button click: <form method="POST" action="https://www.1234.com/trans_center/gateway/direct.cgi"> <input type="hidden" name="Merchant"...
24
by: moriman | last post by:
Hi, The script below *used* to work. I have only just set up a server, PHP etc again on my Win98 system and now it doesn't? On first loading this page, you would have $p = and the button...
3
by: Yourself | last post by:
Hi, I'm trying to post data to PayPal for a shopping cart, basically I want to replicate a form like the following, but create the variables dynamically from code behind: <form...
4
by: paulmitchell507 | last post by:
I have a simple SQL query that is run inside a asp page. I would normally display the results using the response.write("my name is: " & name) if I wanted the output displayed. On this occasion I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.