What is document.F1?

I am new to php therefore I have many questions that might seem dumb or stupid and they probably are except I need to know.
I have found several examples and suggestions where this type of reference is used but never explained or have not found where is explained.

variable = document.F1.scriptcase_field_value

Question1: what does “document.F1” means.

Thank you.

Re: Qy

Sorry about the “Subject” it meant to be a “Generic question”.

Re: What is document.F1?

document in javascript is the reference to the current page.

http://www.comptechdoc.org/independent/web/cgi/javamanual/javadocument.html

F1 is the name of the form in the current page:

<html ....

<form name ='F1' target .....>
...
</form>

</html>

scriptcase_field_value is the name of the field.

with document.F1.scriptcase_field_value you’re accessing an input(text, radio, checkbox, select) inside the form F1.

http://www.w3schools.com/html/html_forms.asp

Re: What is document.F1?

The Document Object Model, or DOM, is an interface to acquiesce programs and scripts to amend content, structure, and appearance of abstracts dynamically. It is platform- and language-neutral. The DOM is not HTML nor is it JavaScript. It is something like the cement that binds them together.

Re: What is document.F1?

How can I change the Form name “F1” to somthing else ?
Thank you