No-Library (pure JS), HTML, CSS, JavaScript
jQuery 1.9.1, HTML, CSS, JavaScript
jQuery 1.8.3, HTML, CSS, JavaScript
How can I know if a checkbox is checked with jQuery
jQuery (edge), HTML, CSS, JavaScript
Mootools 1.4.5, HTML, CSS, JavaScript
Mootools 1.4.4, HTML, CSS, JavaScript
jQuery 1.7.1, HTML, CSS, JavaScript
A little example to explain that difference between DOM & HTML. User content change DOM values but doesn't change HTML values.
If you use html() to set an input value, you will have some encoding issues. You have to use text() instead.