javascript reset dom methods code example Example: reset function javascript document.getElementById("myForm").reset();