I will try "proxy". Thanks,Ian.
On May 5, 11:43 am, Ian 'Nevir' MacLeod <[EMAIL PROTECTED]> wrote: > Unfortunately that's a limitation of XMLHttpRequest - for primarily > security reasons, all browsers disable cross-domain "ajax" (in > general) > > There are a couple solutions, one of which is to "proxy" the request > through the local server (have it contact your other domain, rather > than the browser) > > Google around for cross site scripting (sometimes referred to as XSS) > > On May 5, 11:30 am, JoelSun <[EMAIL PROTECTED]> wrote: > > > hi, > > > I have a question about handle cross-domain JSON data in Form Plugin. > > I use the sample of JSON athttp://www.malsup.com/jquery/form/#code-samples > > > When I place the client Form and Server side code in different domain, > > it just show the raw JSON data. > > > <form id="jsonForm" action="http:www.my-site.com/json-echo.php" > > method="post"> > > Message: <input type="text" name="message" value="Hello JSON" /> > > <input type="submit" value="Echo as JSON" /> > > </form> > > > How can I handle the JSON data when it respond from different domain? > > > Thanks > > > Joel Sun