473,473 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to get values of checkboxes from a pop up window to the main window

14 New Member
i will implement an email program. as any other email program, the user can send messages to multiple contacts. i'm planning to implement this through an address book which will pop up and display all the contacts of the person. this popup window containts checkboxes of the contacts. the user can check multiple check boxes. once finished, the pop up closes.
what i want to do is to retrieve the value of the checked check boxes in the main window. is there a way to do this in PHP or javaScript.
Jan 23 '08 #1
2 1881
nathj
938 Recognized Expert Contributor
i will implement an email program. as any other email program, the user can send messages to multiple contacts. i'm planning to implement this through an address book which will pop up and display all the contacts of the person. this popup window containts checkboxes of the contacts. the user can check multiple check boxes. once finished, the pop up closes.
what i want to do is to retrieve the value of the checked check boxes in the main window. is there a way to do this in PHP or javaScript.
Hi,

I've never done this myself but could you load the information to $_SESSION? So when the user closes the popup it first puts into the session the ID of the emails that were checked and then closes the window. You can the use the $_SESSION on the main page to retreive the ID's and therefore the email addresses.

It's just a guess, I've not done it myself.

Cheers
nathj
Jan 23 '08 #2
Purple
404 Recognized Expert Contributor
Hi you are quite right, you could do this with either javascript or PHP (with some javascript),

Coding in a language you are comfortable would be a good idea, which do you know ?

Purple
Jan 23 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: SC G | last post by:
Hi, I use a web application that has 120 checkboxes on it for me to select from before I submit a form. I have to select boxes in groups of 40 (1-40,41-80,81-120). Each submission generates a...
2
by: Alan Lambert | last post by:
I have a web page that contains, amongst other things, a DropDownList called drpProjectCodes) and a Panel (called pnlStatus) which contains six Checkboxes. drpProjectCodes contains a list of...
0
by: Angela | last post by:
Hi I have a datagrid with checkboxes besides a list of names. What I want is for the user to select the checkboxes and press 'Preview' and a new window opens with a print friendly list of the...
29
by: Amer Neely | last post by:
I've got a dynamically built form with checkboxes for each element ( a list of file names in a directory). I need to grab only those checkboxes that are checked, so I can then delete those files. ...
1
by: prash.marne | last post by:
hi , i am having a simple form ----------------------------------------------------------------------- ----------------------------------------------------------------------- --------------...
5
by: kosta.triantafillou | last post by:
Hi all, I have a form that contains a lot of values. On this form there are also alot of popups that can be brought up. One of them does the following: Takes 2 values (x and y), concatenates...
9
by: =?Utf-8?B?UGV0ZXJX?= | last post by:
I have a TabControl on a Windows form in which I have various tab pages each with a DataGridView, the first column of which is a DataGridViewCheckBoxColumn and subsequent columns being...
10
by: LionsDome | last post by:
Hello, I have a vb.net page which a bunch of checkboxes. A user can select a checkbox(s) and hit the submit button to store those values in a SQL Server table. This works fine with no problem...
0
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...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.