DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

java programmer from china Nile has posted 6 posts at DZone. View Full User Profile

Jquery 如何检查 Checkbox是否选中

04.10.2010
| 1940 views |
  • submit to reddit
        // description of your code here

if ($('#checkbox').attr('checked')) {
     // do something
}