this.form will return a form property of this as above, regardless of "this" .
"this" can be anything, for example. div, therefore, may not have a form property.
If "this" occurs with reference to a document, then this.form returns exactly the same thing as document.form . But otherwise, do not count on it.
source share