Major JavaScript bug - form variables not submitted
I'm building a page where data is submitted to Paypal via a form and using Javascript to build Select statements on the fly. These appear as expected, but when the form is submitted none of the variables are POSTed through. The same page works perfectly in IE so there must be a major bug in Firefox's impementation of Javascript - this is a total show-stopper for the page I need to implement. Go to the URL below and then check availability for type of room ANY. On the booking confirmation page if you leave the first select alone and hit the Pay Now button you will arrive at a debug page that dumps all the POST variables in a new window. Now go back and change the room type in the first select statement just above Pay Now - this updates the second select. Maybe even click it again to go back to the original setting. Now click Pay Now - nothing comes through from the select statement and some associated hidden vars. Try it in IE and it works just like it should.
URL of affected sites
Semua Balasan (1)
Found this which has solved the problem:
http://www.infoqu.com/dev/javascript-.../crazy-firefox-javascript-bug-156760-1/
There seems to be an issue with FF and InnerHTML when a form is in a table. By moving the form tag around I was able to place it within the table definition so that it works in FF.