JavaScript Tutorial/Document/images

Материал из Web эксперт
Версия от 11:24, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

document.images

Syntax



   <source lang="javascript">

document.images

   document.images[index]</source>
   
  

document.images.length

The length property contains the number of objects that are in the images[] array.



   <source lang="javascript">

<html>

A Circle

   <img src="http://www.wbex.ru/style/logo.png">

A Square

   <img src="http://www.wbex.ru/style/logo.png">
<script language="JavaScript"> </script> </html></source>