รีเซ็ตหรือล้างแบบฟอร์มโดยใช้ JavaScript ด้วยวิธี reset() วิธีการรีเซ็ตจะตั้งค่าขององค์ประกอบทั้งหมดในรูปแบบเช่นการคลิกปุ่มรีเซ็ต 
ตัวอย่าง
คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อรีเซ็ตฟอร์มโดยใช้ JavaScript -
<!DOCTYPE html>
<html>
<head>
<title>Reset HTML form</title>
</head>
<body>
<form id="newForm">
Student Name<br><input type="text" name="sname"><br>
Student Subject<br><input type="password" name="ssubject"><br>
<input type="button" onclick="newFunction()" value="Reset">
</form>
<script>
function newFunction() {
document.getElementById("newForm").reset();
}
</script>
</body>
</html>