<html><head></head><body>
<form name="form_1"></form>
<form name="form_2"></form>
<form name="form_3"></form>
<form name="form_4"></form>
<script language="javascript">
for(var i=0; i < document.forms.length;i++) {
alert( document.forms[i].getAttribute("name") );
}
</script>
</body></html>
|