clear

clears all the fields in a specified form

void clear( [any config] );
configanyoperation config

Example

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

Related samples

Details

The config parameter can be of any type (from a string to an object). It will be passed to the onChange event as the last parameter.

See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of form control product.