When NeknoHTML parser corrects ill formated <form>, does it builds some data structure to record which form elements are part of the form?
Considering the following example: In IE and Mozilla, the <form> tag will end after the <table>, however, the forms[].elements.length only has **2** elements instead of 3. Could someone please tell me how does NekoHTML parser handles situation like this? i.e. if I parse this html using NekoHTML parser, how can I know i only need to submit the first 2 form elements value during form submittion? <html> <body> <form name="form1" action="http://www.google.com"> <table> <tr><td>1 <input type=submit name="a"></td> </tr> <tr><td>2 <input type="text" name="b"></td> </tr> </form> <tr><td>3 <input type="text" name="c"></td> </tr> </table> <script> alert("document.forms[0].name: " + document.forms[0].name ); alert("document.forms[0].elements.length: " + document.forms[0].elements.length ); </script> </body> </html> __________________________________ Do you Yahoo!? Yahoo! Search - Find what you�re looking for faster http://search.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
