jQuery .get appends an unknown variable to URL

Posted by ILMV on Stack Overflow See other posts from Stack Overflow or by ILMV
Published on 2010-03-19T10:12:46Z Indexed on 2010/03/19 10:41 UTC
Read the original article Hit count: 278

Filed under:
|
|

I'm using this code as the starting point to an overhaul of our JavaScript framework:

$("#get").click(function(){
    $("#result").html(ajax_load);
    $.get(
        "http://www.google.com",
        {},
        function(responseText){
            $("#result").html(responseText);
        },
        "html"
    );
});

But when the request is made it includes a variable within the URL that I am unfarmiliar with, here is what Firebug says it's requesting:

http://www.google.com/?_=1268993359215

How do I get rid of this, when we target our internal scripts it's firing a 404 error :-(

Cheers!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about get