User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 374,021 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,729 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 5542 | Replies: 3
Reply
Join Date: Dec 2005
Posts: 2
Reputation: wahaj_khan is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
wahaj_khan wahaj_khan is offline Offline
Newbie Poster

How to Embed CheckList Box on HTML Page using Java Script

  #1  
Dec 14th, 2005
Hi
I need some help for HTML for embedding checkList Box.
How can embed CheckList Box on HTML Page using Java Script code.
Thanks
Last edited by wahaj_khan : Dec 14th, 2005 at 2:48 am. Reason: Need some solution
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to Embed CheckList Box on HTML Page using Java Script

  #2  
Dec 14th, 2005
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:

<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?
Reply With Quote  
Join Date: Dec 2005
Posts: 2
Reputation: wahaj_khan is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
wahaj_khan wahaj_khan is offline Offline
Newbie Poster

Re: How to Embed CheckList Box on HTML Page using Java Script

  #3  
Dec 16th, 2005
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

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:

<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?
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to Embed CheckList Box on HTML Page using Java Script

  #4  
Dec 16th, 2005
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?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 11:14 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC