Reset the page controls using Javascript

By Santhosh N

You can reset all the page controls in webpage using a single statement in Javascript

You can simple call this statement to reset all page controls to default values in javascript

For IE:

document.all.YourForm.reset();

For Other Browsers:

document.YourFormID.reset()

Reset the page controls using Javascript  (1257 Views)