Prop Reset Form
# Reset form Property
[ Reset Object](#)
* * *
## Definition and Usage
The form property returns a reference to the form that contains the reset button.
If successful, this property returns a form object.
## Syntax
resetObject.form
* * *
## Browser Support

The form property is supported in all major browsers.
* * *
## Example
## Example
Display the id of the form that the reset button belongs to:
function displayResult(){
var x=document.getElementById("reset1").form.id;
alert(x);
}
Email:
[Try it yourself Β»](#)
* * Reset Object](#)
YouTip