Click here to Skip to main content
11,570,352 members (47,814 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.9K 3
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

You may also be interested in...

Comments and Discussions

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

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
Web03 | 2.8.150624.2 | Last Updated 5 Jul 2011
Article Copyright 2011 by Lisetsky Val
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid