Hi, all. I need help with HTML DOM. When I check number of controls in form, it would be document.forms(i).length, right? But if the form has control with name "length", this returns the reference to this control. Is anyone experienced with it? Thanks.
Try var num = document.forms.length; Code (markup): If you specify an index, it returns only the the name of the indexed form. cheers, gary