| | |
How to Embed CheckList Box on HTML Page using Java Script
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
You'll have to be more specific and detailed in your question. You can include checkboxes in an HTML Form by coding a checkbox element:
But then you say you want to "embed" this control with Javascript. What exactly do you mean? Do you want to dynamically create a checkbox element at runtime, client-side? At what point? How many? Will they be mutually exclusive?
HTML and CSS Syntax (Toggle Plain Text)
<input type="checkbox" id="myCheckbox">Check this box.</input>
But then you say you want to "embed" this control with Javascript. What exactly do you mean? Do you want to dynamically create a checkbox element at runtime, client-side? At what point? How many? Will they be mutually exclusive?
•
•
Join Date: Dec 2005
Posts: 2
Reputation:
Solved Threads: 0
Well I need CheckListBOX rather than a simple checkbox..CheckListBOX contains an array of checkboxes in a List Control. This is builtin control in VB.Net and other tools..But there is no input type command in HTML that do this..For this You can create an array of HTML-checkboxes in a table in the same way. This might be possible using JavaScript....I was asking how to do this with the help of JAVA Script??
Thanks
Thanks
•
•
•
•
Originally Posted by tgreer
You'll have to be more specific and detailed in your question. You can include checkboxes in an HTML Form by coding a checkbox element:
HTML and CSS Syntax (Toggle Plain Text)
<input type="checkbox" id="myCheckbox">Check this box.</input>
But then you say you want to "embed" this control with Javascript. What exactly do you mean? Do you want to dynamically create a checkbox element at runtime, client-side? At what point? How many? Will they be mutually exclusive?
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
I'm still confused... If you want JavaScript help, this is the place. If you want Java help, then ask in the JSP forum (there is no such thing as "JAVA script"). If you want help with ASP.NET server controls, ask in the ASP.NET forum.
If you want a set of HTML CheckBoxes that are mutually exclusive (the user can click only one), then you create checkboxes with the same NAME. However, in that case, the convention is to use Radio Buttons. Users will expect to be able to click multiple checkboxes.
I suggest you clearly state the
1) DESIRED END RESULT: A set of checkboxes? Mutually-exclusive?
2) The language you want to use to achieve this result: ASP.NET? Java? JavaScript?
If you want a set of HTML CheckBoxes that are mutually exclusive (the user can click only one), then you create checkboxes with the same NAME. However, in that case, the convention is to use Radio Buttons. Users will expect to be able to click multiple checkboxes.
I suggest you clearly state the
1) DESIRED END RESULT: A set of checkboxes? Mutually-exclusive?
2) The language you want to use to achieve this result: ASP.NET? Java? JavaScript?
![]() |
Similar Threads
- Can I use a template html page within another html page (Site Layout and Usability)
- how can i pass a value from java script to JSP scriplet (JSP)
- Inserting (large) flash banner in HTML page (HTML and CSS)
- PHP in a html page? (PHP)
- A question on java script?(Please answer ASAP) (Java)
Other Threads in the HTML and CSS Forum
- Previous Thread: Border help in CSS
- Next Thread: send to a friend
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






