Name = ID
One is a Microsoft of Netscape is the name of the tag object.
-------------------------------------------------- -------------
Form INPUT TEXTAREA SELECT and Frame Elements (iframe frame) with Name
These elements are submitted with forms (frame elements acting on the target of FORM), and the receiving page of the form is only
Elements with Name, the element that the ID is not received by the form, you can verify it yourself.
Of course, the above elements can also assign ID values, and the method of reference to these elements will be changed when the ID value is assigned.
Name: Document.FormName.inputName Document.frames ("framename")
ID: Document.all.Inputid Document.All.frameID
You can only assign an element that cannot be assigned an element: (remove the element related to the form "can only be assigned
Body Li a Table TR TD TH P Div SPAN PRE DL DT DD FONT B, etc.