Home > Not Working > Ajax Not Working In Google Chrome

Ajax Not Working In Google Chrome

Contents

The ajax i have used is$.ajax({ type: "POST", async: "false", url: location.href, data: ({ 'FUNCTION': 'LoadData' }), success: function (dataset) { alert("success"); }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert("error--" + From Display to Script: The Typographer's Font Bundle - only $15! Internet Explorer's loading indicator is a solid circle with a gradient that spins while the content loads. Sitemap Articles Authors Questions & Answers Download Documentation Support Marketplace Forums (Obsolete) Newsletter Archive Kentico Suite of Solutions Web Content Management solution E-Commerce solution Online Communities solution Intranet & Collaboration solution Check This Out

The principle of progressive enhancement for Ajax is well known, because it is commonly used for unobtrusive JavaScript techniques and is inherent in CSS, as illustrated by the graphic below: So, How to catch ajax exception? https://api.jquery.com/jQuery.ajax/ https://learn.jquery.com/ajax/working-with-jsonp/ Also, I have seen where IE will work and Chrome and Firefox will not if the ajax request is not of the same protocol as the requesting page (if I have tried the code in all possible places, but its not working. :( Below is the code within

tags, for your reference: