IE is not firing ajax call in jquery

I have this code that it is working on firefox and chrome, but in IE8/IE7 it's not working. The server is not been reached ever.

$("#adicionarItem").click(function(){
    $.ajax({
        type: 'GET',
        url: $("#formAdicionaItem").attr("action"),
        data: $("#formAdicionaItem").serialize(),
        success: function(result){
            //do something
        }
    });
});

Does anyone has any idea what is wrong?

Thanks

Answers


Is there any change if you set

cache: false,

I know IE has a habit of caching GET requests.


Need Your Help

PHP: Multilanguage system with MySQL

php mysql

I've got a question: I'm making a multilanguage system for PHP website's with MySQL.

How to implement a boostrap template over bootstrap-sass gem

javascript css ruby-on-rails twitter-bootstrap bootstrap-sass

I have a ROR app using the bootstrap-sass gem and I want to load a template that I purchased onto the app and override the regular bootstrap. The template gave me the following files...