returns "true" if an item is checked (a checkbox and a radio button only)
name | string | the name of an item |
value | string | the value of an item (for a radio button) |
boolean | true|false |
// for a radio button
var isChecked = myForm.isItemChecked(name, value);
// for other items
var isChecked = myForm.isItemChecked(name);
Back to top