Example of submit() method

<!DOCTYPE html> <html> <body> <form method="get"...

Example of reset() method

<!DOCTYPE html> <html> <head> <style> body{font-size:s...

Accesing form elements with DOM

<!DOCTYPE html> <html> <body> <form id="myForm"&g...

Manipulating form elements with DOM

<!DOCTYPE html> <html> <body> <form id="appForm"...

Manipulating input elements with DOM

<!DOCTYPE html> <html> <body> <form> Enter telephone nu...

Manipulating select boxes with DOM

<!DOCTYPE html> <html> <body> <select id="birds"...

Example of try-catch-finally statements

<!DOCTYPE html> <html> <head> <script> function addPara...

The Error object and error types

<!DOCTYPE html> <html> <body> <input type = "text"...

User-defined error object throwing error messages

<!DOCTYPE html> <html> <body> <form name="myForm"...

Example with multiple throw statements

<!DOCTYPE html> <html> <body> <input type = "text"...