944,085 Members | Top Members by Rank

Ad:
Dec 14th, 2005
0

How to Embed CheckList Box on HTML Page using Java Script

Expand Post »
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 3:48 am. Reason: Need some solution
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
wahaj_khan is offline Offline
2 posts
since Dec 2005
Dec 14th, 2005
0

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

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)
  1. <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?
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Dec 16th, 2005
0

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

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

Quote 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)
  1. <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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
wahaj_khan is offline Offline
2 posts
since Dec 2005
Dec 16th, 2005
0

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

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?
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Border help in CSS
Next Thread in HTML and CSS Forum Timeline: send to a friend





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC