¡@

Home 

2014/10/16 ¤W¤È 12:02:45

jquery Programming Glossary: daemon

How do I send an AJAX request on a different port with jQuery?

http://stackoverflow.com/questions/2099728/how-do-i-send-an-ajax-request-on-a-different-port-with-jquery

send an AJAX request on a different port with jQuery I need to send an AJAX request to for example port 8080 where a daemon is running there. javascript jquery ajax cross domain share improve this question You cannot POST information cross.. POST information cross domain subdomain or port number. You can however use JSONP if you have access to both the daemon and the requesting site. If data needs to be returned then the daemon needs to support a callback query parameter and return.. however use JSONP if you have access to both the daemon and the requesting site. If data needs to be returned then the daemon needs to support a callback query parameter and return it properly formatted. Pass the information to the daemon .getJSON..