Is there any way I can use javascript to find out the number of forms in a webpage?
I know you can do document.forms.length to find out the number of elements in a form, but I need to know the number of forms in a document. Anyone got any clue?
your talking about e.g.
<form> </form> <!--later in script --> <form> </form>
If so you were close
document.forms.length
Exactly it. Ta muchly