HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <p>Type something and click reset</p> <form onreset="myFunction()"> <input type="text"> <input type="reset"> </form> <script> function myFunction(x){ alert("Form reseted"); } </script> </body> </html>
OUTPUT
×

Save as Private