JavaScript DHTML/Javascript Collections/forms

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

"forms" Example

   <source lang="html4strict">
   

<html> <body> <form name="form1" method="post" action=""><textarea></textarea></form>

<form name="form2" method="post" action="">

<input type="text">

</form>

<form name="form3" method="post" action=""><input type="radio"></form> <form name="form4" method="post" action=""><input type="radio"></form> <form name="form5" method="post" action=""><input type="button"></form> <form name="form6" method="post" action=""><input type="button"></form>

<input type="checkbox"></form> <button onclick="alert(document.forms.length);">Number of forms in the page</button> </body> </html>


     </source>