innerHTML Scariness in Mozilla
If you are using innerHTML with Javascript to create dynamic elements in your web application, and for some reason are not getting all your input parameters submitted to server (Mozilla only!), check this out:
https://bugzilla.mozilla.org/show_bug.cgi?id=260967
The form element(s) being manipulated by innerHTML can get screwed up in the DOM if your form is nested within table elements in certain ways. The solution for me was to open the form tag before the table tag, and close it after the table tag closure.











on September 25th, 2006 at 6:22 pm
Thanks! I just switched back to Mozilla today, making it my primary browser, so I appreciate all of the computer scientists who are catering to my specific needs!
on September 25th, 2006 at 6:29 pm
Well, don’t mistake a second-rate hacker for a computer scientist Hon, but thanks!
I know you were using Flock before, which works on the Mozilla codebase, so that was also affected by this bug. It still isn’t fixed in the nightly build of Mozilla (tested it!), but hopefully they will get to this. innerHTML was actually created by Microsoft originally, one of their few really good ideas… but it’s not a “W3C” recommended thingy, so Mozilla probably prioritizes it lower. They shouldn’t in this case.
on September 27th, 2006 at 9:51 am
Don’t belittle yourself - you’re a first-rate hacker, at least.