hi,
using HTML DOM api can we know the number text boxes in the current page or number of text boxes in a <form> tag.

I have seen 'document.anchors.length', but what I want is number of text boxes is there something like this 'document.text.length'.

and further can we get text boxes of document or form as an array, so that I can manipulate those objects.