Jquery Ajax error: code:19 message:Failed to execute 'send' on 'XMLHttpRequest' -


i have 2 web apps in same domain different ports, e.g.:

one used edit content, 1 used show content.

when open 2 websites in same browser @ same time, edit content , save ajax post request,it fails error:

code:19  message:failed execute 'send' on 'xmlhttprequest'  name: "networkerror" 

please tell me what's happened , how fix it. thanks!

from w3:

an origin defined combination of uri scheme, hostname, , port number.

the port problem. you'll have investigate other alternatives, such jsonp example.


Comments

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -