- JavaScript, . ³ , ; "" ', ' Web-. , ' Web-.

, f, g5 h32, ' document -' document.f, document.g5 .. , ' document forms, () , , ' document.forms [0], document.forms [1] .. , 䳿 ' . ', : forms [], images [], frames[], , , .

, , HTML-. ( ), ( , ), :

window.document.forms [4] // 5- window.document.forms (4) // window.document.forms [ 'mf'] // ' 'mf'window.document.forms ( 'mf') // window.document.forms.mf // window.document.mf //

3-4 , ' . , var w = "mf", ' "mf" window.document.forms [w]. for ... in, ' document.

, length, . , document.images.length.

' .

3.1. '
window.frames[] - ', <FRAME>
document.all [] ',
document.anchors[] - ',
document.applets[] - ', <APPLET>
document.embeds [] - ',
document.forms [] - ',
document.images [] - ', <IMG>
document.links [] - ', HREF= "..."> <AREA HREF= "...">
document.f.elements[] ' f - ',
document.f.s.options [] (
navigator.mimeTypes [] MIME, ϳ ( . IANA)
function_name.arguments[] , function_name ()


DOM |

| | | sort () | If ... else ... | Continue | | ' | ' | ' |

© um.co.ua -