Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q70 How do I check if a forms checkbox has been checked?

You are here: irt.org | FAQ | JavaScript | Form | 3.4 | Q70 [ previous next ]

function isChecked(object) {
    if (object.checked) return true;
    else return false;
}

alert(document.formName.checkboxName);

©2018 Martin Webb