Button is used as normal click able button, submitting form data, resetting the form data to its initial value. According to the usage of button, you can render the button in three types. Using the type property, you can easily render the button in following types.
List of Button types
|button||The button is a click able button|
|submit||The button is a submit button (submits form-data)|
|reset||The button is a reset button (resets the form-data to its initial values)|
The following steps explains you the details about rendering the Button with above mentioned button types.
In the HTML page, add the following button elements to configure Button widget.
<button id="buttonType_button">button</button> <br /> <br /> <button id="buttonType_submit">submit</button> <br /> <br /> <button id="buttonType_reset">reset</button>
Execute the above code to render the following output.