JavaScript General - How to determine the state of a checkbox using JavaScript?
Interview Question Database For Software Developers
|
|
| How to determine the state of a checkbox using JavaScript? | | How to determine the state of a checkbox using JavaScript? | | By: |
Use the "checked" property of the checkbox object. For example:
var checkedP = window.document.getElementById("myCheckBox").checked;
| | ID: 2128 | Rank: 285 | Votes: 0 | Views: 80 | Submitted: 20080819 |
Copyright © 2008 FYIcenter.com
All rights in the contents of this Website are reserved by the individual author.
No part of the contents may be reproduced in any form without author's permission.
|
|
|