[jQuery] Re: Json post with mozilla

2009-07-19 Thread jayz
hey am a totally newbie with json and jquery bothi am accessing a restful service which on GET request reply with some json data...now i wanna parse that through jquery..could you give me a sample code or something?. you have mentioned that u bbeen able to perform GEt request successfully

[jQuery] Re: Json post with mozilla

2009-06-16 Thread Ricardo
You can do a normal post in an iframe, with URL encoded JSON (decode server-side), just watch the max string length for a URL. On Jun 16, 4:43 pm, Rosa Spina wrote: > Thanks for answer. > Yes, It's a post request for a page located on a different domain: > fromhttp://localhost:8080tohttp://loca

[jQuery] Re: Json post with mozilla

2009-06-16 Thread Rosa Spina
Thanks for answer. Yes, It's a post request for a page located on a different domain: from http://localhost:8080 to http://localhost:8081 (two tomcat istances). I know it's not allowed by cross domain rules, in fact I use Json for get requests, but I don't know how to do with post requests because

[jQuery] Re: Json post with mozilla

2009-06-16 Thread James
The error means you're trying to access a resource that located on another domain. You can only use AJAX POST or GET on a resource that is located on the same domain as the page that is calling it. If that is the case in your scenario, could you provide more code for us to locate the issue? On J