isItemHidden

returns "true" if an item is hidden

boolean isItemHidden(string name, [string value] );

Parameters

namestringthe id of an item
valuestringthe value of an item (for a radio button)

Returns

booleantrue|false

Example

// for a radio button
var isEnabled = myForm.isItemHidden(name, value);
 
// for other items
var isEnabled = myForm.isItemHidden(name);

Back to top