JavaScript DHTML/Javascript Collections/forms — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 10:23, 26 мая 2010
"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>