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

Can we check the status of a checkbox without submiting the form.....

28
I need to check the status of the checkboxes in one form and display the checked values in another form.

How can i?
Nov 7 '06 #1
4 2484
vssp
268 100+
just Post method to get the checked value and check it another form

vssp
Nov 7 '06 #2
ramapv
28
Sorry, i cant get you!!!!

I mean that i have to check the status of checkboxes which are in first form (without submiting it) and based on the status i want to display the checked names in second frame.
Nov 7 '06 #3
ronverdonk
4,258 Expert 4TB
You can do inspect the checkbox or group of checkboxes and get the information via:[html]for one checkbox:
if (document.form_name.checkbox_name.checked==true)
......

for a group of checkboxes with all the same name:
if (document.form_name.checkbox_group[i].checked==true)
.....

Check the entire group of check boxes in a loop:
for (i=0; i<document.form_name.checkbox_group.length; i++){
if (document.form_name.checkbox_group[i].checked==true)
alert("Box "+i+" checked!")
}
[/html]

Since I don't know at what moment you want to fill your second frame, and you don't want a submit, you have to think about how to trigger this code.

Ronald :cool:
Nov 7 '06 #4
ramapv
28
But based on the status of checkbox i have to update the frame2 contents which are checked values.
Nov 8 '06 #5

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

Similar topics

0
by: Dakanali | last post by:
I have a previous form which user search if there is a domain name. Give the domain name and in xml send the data from domainName=rewuest.form("domainname") to the specify url which is below and i...
2
by: Edward | last post by:
The following html / javascript code produces a simple form with check boxes. There is also a checkbox that 'checks all' form checkboxes hotmail style: <html> <head> <title></title> </head>...
3
by: Rich | last post by:
I have a form with 2 check boxes. One of the check boxes is used to specify that the user is a "primary contact." When I check the primary contact box I want a second box for "standard contact"...
5
by: A.Dagostino | last post by:
hi i need to update an SQL Table when user select or unselect a checkbox control. How Can i do? Thanks Alex
2
by: Karl Roes | last post by:
Thanks Turtle, but ... what for ? Could you please explain a little more. I am wanting to know the status of all check boxes in a continuous form ie. all are 'ticked'. MacDermott wrote - ...
2
by: Steve JORDI | last post by:
Hi, I'm having a little trouble trying to update a page content when the user clicks a check box. Basically, I need to reload a page to update its content depending on that checkbox status. I...
15
by: martin DH | last post by:
Good morning, I have added several posts out here on a project on which I am working - thank you very much to everyone who has responded with ideas and solutions! My new question: I am drawing...
1
by: QuickBooksDev | last post by:
VB.NET 2005 DataGridView Checkbox - Check Event need to know check status I would like to use the DataGridView Checkbox like a normal checkbox. When someone clicks on it I would expect that I...
2
by: Ben | last post by:
Hi! All of a sudden on a newer version of our application a check box on the "Produce Invoice" form cannot be checked. I did not do any changes to this form at all. Below are the things that...
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: 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
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: 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...
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
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,...

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.