473,405 Members | 2,310 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,405 software developers and data experts.

which attribute i need to pass the choice of check box

first i'd like to thank Banfa
thank u very much

Now i need to pass the choice of checkbox ,radio ,menu
i don't know which attribute i need to do this
Sep 10 '06 #1
1 1214
acoder
16,027 Expert Mod 8TB
You need to loop over all checkbox elements and use the checked property to determine which checkboxes have been checked, e.g.
Expand|Select|Wrap|Line Numbers
  1. if (checkboxes[i].checked) // the ith checkbox is checked...
May 13 '08 #2

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

Similar topics

3
by: Felix Hebeler | last post by:
Hi all, I am doing some Python scripting for a while, but I'm not too deep into it yet. So I have a problem I can't solve. I need to call an object attribute: value = object.attrName the...
3
by: Edward | last post by:
ASP.NET / VB.NET SQL Server 7.0 Our client has insisted that we change our established practice of building SQL in-line and move it all to SPROCs. Not a problem for 80% of the app. However,...
0
by: c_capatana | last post by:
i have 2 abstract type defined: <xs:complexType name="InputHeaderType" id="InputHeaderType" abstract="false"> <xs:complexContent> <xs:restriction base="xs:anyType"> <xs:sequence/>...
12
by: Wade G. Pemberton | last post by:
Does anyone have a quick script to find which version of IE a page is being viewed with? Specifically, I want to seperate version 4 from versions 5+, and post a warning against using 4. I...
3
by: kosaraju.puneeth | last post by:
I want an element that must have either attribute A or B. <Thing1 A="aaa"/> <Thing1 B="bbb"/> I want to enforce this in my schema . If A and B were elements, I could use choice.
2
by: Greg | last post by:
Hi. I have a rather large xml document (object) that can have one or more nodes with a certain attribute throughout (at ANY depth, not at the same level necessarily). I need to find this...
1
by: davidw | last post by:
I need store some setting in XML. I can not decide to use xml element or xml attribute to store them, for example, the XML could be <Page> <Label>test</Label> <Size>10</Size> ..... </Page> ...
4
by: mflll | last post by:
I am looking into the different techniques of handling arrays of edit boxes in Java Script. The first program below works fine. However, are there better ways of doing this, where the person...
7
by: Ebenezer | last post by:
Hello! Let's suppose we have an XML with some nested NODE nodes: <root attr="first"> <node id="1" attr="mike"> <node id="2" /> <node id="3" attr="dave" /> </node> <node id="4">
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...
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
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
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...
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,...

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.