For security reasons, you cannot use AJAX to send a request to a different domain.
Instead, you can make submit normal <form>
that targets an <iframe>
. (Note that you would not be able to read the response)
Alternatively, if you have control over or cooperation with the remote site, you can use JSONP.
SLaks
2010-10-17 01:31:15