clear

restores initial form values

void clear( [boolean all] );
allbooleanif true, all form fields are completely cleared

Example

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

Related samples

See also
Back to top