No Transport' Error jQuery Ajax call on IE

Update jquery.js file 

Every request checking to HTTP to https

convertHttps : ((function() {
            if (window.location.href.toLowerCase().indexOf("https") !== 0) {
                if (jQuery.browser.msie && parseInt(jQuery.browser.version) <= 9) {
                    return true;
                }
            }
            return false;
        })()),
        // Main method
        ajax: function (url, options) {

            // If url is an object, simulate pre-1.5 signature
            if (typeof url === "object") {
                options = url;
                url = undefined;
            }

           

            if (jQuery.convertHttps) {
                if (url === undefined) {
                    if (options.url.toLowerCase().indexOf("https") === 0) {
                        options.url = "http" + options.url.substr(5);
                    }
                } else {
                    if (url.toLowerCase().indexOf("https") === 0) {
                        url = "http" + url.substr(5);
                    }
                }
            }

Search This Blog

Arsip Blog

Powered by Blogger.

Recent

Comment

Author Info

Like This Theme

Popular Posts

Video Of Day

jishnukanat@gmail.com

Sponsor

Most Popular