Reputation: 326
Code
$('.form').load('http://'+window.location.hostname+':8423/html/form/form_generate.html/?session='+session);
Is there any work around for this?
Upvotes: 0
Views: 194
Reputation: 326
Ok. The problem seems to be a bug in jquery. We should add $.support.cors = true;
to make cross domain requests work.
Upvotes: 1
Reputation: 460
As far as I know: Even another port is considered cross origin request. There are two quick workarounds coming into my mind right now:
There was another way to allow cross origin access by alternate the settings of the webserver, but not sure how to do this excactly.
Upvotes: 0