I've created an ajax jQuery driven AWS shopping site at
http://gutterstar.net/amazon.php
When this site is viewed in IE, it appears normally. The main page contains the embedded section where jQuery dynamically loads the content whenever any selection is made.
When the page first loads, a JS statement at the bottom of the page activates the submit button of a partially hidden form. This initial data is the first to populate the page, which is random unless parameters are included in the url. The script uses a click() method to accomplish this, and the form has an onsubmit handler to handle the ajax request.
When this page is opened in Firefox though, for some reason, the onsubmit handler, which always returns false, is always ignored, and the action url is always used to direct the browser to a new page.
Can you see why this is happening? This is really driving me nuts.
Thanks, and best wishes,
Bryan Garaventa
When I load the above URL with Firefox 3.0 the browser's error console
shows two script errors:
Error: setting a property that has only a getter
Source File: http://gutterstar.net/ajax/amazon.js
Line: 79
Rename that variable named 'history', it interferes with the browser's
history object.
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/