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?
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
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?
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37