User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:220.127.116.11) Gecko/20080201 Firefox/18.104.22.168 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:22.214.171.124) Gecko/20080201 Firefox/126.96.36.199 I work on a project that use some AJAX request (a4j). When we refresh the form node by an AJAX request, this form is not present in document.forms array and not accessible by document.forms['myformname'] notation (but the name attribute of the form is present). It result that some third party script crash. Reproducible: Always Steps to Reproduce: 1.Do an AJAX request to refresh a form node 2.try to access document.forms 3.
please provide a reduced testcase.
I have the same problems. After form rerender the array document.forms don't contain this form, but the array of document.getElementsByTagName('form') has all forms. Browsers: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:188.8.131.52) Gecko/20070914 Firefox/184.108.40.206 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:220.127.116.11) Gecko/20080218 BonEcho/18.104.22.168 Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:22.214.171.124) Gecko/20080201 Firefox/126.96.36.199 Reproducible: Always Steps to Reproduce: 1) Deploy war on Tomcat 6.0 . 2) Go to page http://localhost:8081/bugTesting . 3) Alert show that document.forms contains "mainForm" and "anotherForm". 4) Click on "send" button. 5) Oncomplete event alert show that document.forms doesn't containt "mainForm", but document.getElementsByTagName('form') contains it. PS. war file with test application in the next attachment.
War file with test application can be downloaded from: http://tvpayrev.belhard.com/bugTesting.war
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.6 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.