Change Language


Follow Navioo On Twitter

with

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.  
text_javascript Navioo_docs

Examples -> Source code Demo online - > with statement:

Ajax Javascript feed

↑ Grab this Headline Animator