jQuery.load using POST instead of GET

791 Views Asked by At

I have very simple code as below:

function AjaxDialog(title, url) {
    var window = $('<div title="' + title + '"></div>');
    window
        .appendTo('body')
        .dialog();

    window.load(url, function () {
            window
                .dialog({ width: "auto", height: "auto" })
                .dialog("option", "position", "center");
        });

    return window;
}

The window.load has been using a GET for months (using jQuery 1.6.4) but since I upgraded jQuery to version 1.10.1 it has started using POST. Any idea why?

0

There are 0 best solutions below