checkItem

checks a checkbox or a radio button

void checkItem(string name, [string value] );

Parameters

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

Example

//for a radio button
myForm.checkItem(name,value);
 
//for other items
myForm.checkItem(name);

Back to top