Using event.type in ajax is the error
I would like to submit a fix to all the ajax problems on converting or fixing any ajax issues. When you are having trouble with a ajax request with Firefox first thing you need to do is look for any event.type within the responses. if you're using any to trigger on ready be sure to change them over to the default names of the same Id used to check ready state. for example what i noticed with them are Google chrome allows event.type to return the required id and all. Firefox does not. So here is the example...
Sent out ajax request. returned it with... ajax_blah.onreadystatechange=function(){ /*event.type.readyState does not work in Firefox but does in chrome*/ /*ajax_blah.readyState works onGoogle chrome and Firefox */ if(ajax_blah.readyState==4 && ajax_blah.status==200){ /*fire*/ } }
So Anyways quit using events unless you find a alt small fix. function(event) may help? you tell me but i wanted to help people searching for a fix. Enjoy
All Replies (1)
Locking, good find! Have you considered filing a bug as well?