Click here to Skip to main content
Click here to Skip to main content
Alternative Tip/Trick

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

, 5 Jul 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
There is shorter way to do this: Some Text
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 PingroupTechnoses30-Dec-11 19: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 | Mobile
Web01 | 2.8.141022.2 | Last Updated 5 Jul 2011
Article Copyright 2011 by Lisetsky Val
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid