Temporarily modifies the scope chain of a statement.
Syntax
with (object)
statement
Example
with (document.forms.myForm) {
firstName.value = "";
lastName.value = "";
email.value = "";
} //Sets the values for these three form fields within a single block.