Fixing Ajax “No Transport” error

Sometimes, making an $.ajax request to a web service might return the “No Transport” error, if the web service is hosted in a different domain.

To solve this issue, you need to set the CORS support on true:

$.support.cors = true;

before you make the $.ajax request
and the following property on the request level:

crossDomain: true

You can find more details on this topic here.

1 comment

Leave a Reply to Austin Cancel reply

Your email address will not be published. Required fields are marked *