Click here to Skip to main content
11,496,146 members (579 online)
Click here to Skip to main content

How to make text of an html checkbox clickable (like ASP.NET control)

, 5 Jul 2011 CPOL 5.8K 3
There is shorter way to do this: Some Text
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
There is shorter way to do this:

<label><input type="checkbox" id="checkbox1"/> Some Text</label>

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Lisetsky Val
Team Leader EPAM
Ukraine Ukraine
No Biography provided

Comments and Discussions

 
GeneralReason for my vote of 5 Very Good and Helpfull Pin
Technoses30-Dec-11 20:57
groupTechnoses30-Dec-11 20:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 5 Jul 2011
Article Copyright 2011 by Lisetsky Val
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid