clear

clears all the fields in a specified form

void clear();

Example

function clear_form() {
   $$('myform').clear();
}

Related samples

See also
Back to top