form

Introduction

The forms property is an array containing references to all the Form objects in the current document.

Form

document.forms["formID"];

Use

Example

document.forms["formID"];

On running the above code, the following output is obtained.