[eluser]BrianJM[/eluser]
[quote author="explorercode" date="1296186091"]I am violating the SOPolicy.. my js (domain1) is in one server and the RESTful api is in another.. (domain2). Your explanation on the SOP makes sense. I appreciate your help. Now, I am attempting to use JSONP instead of a proxy class to solve this issue. Any tips?[/quote]
You can do this in the latest jQuery 1.5rc1 source (see http_:_//_bugs.jquery.com/ticket/4897).
Example provided here: http_:_//_brianjm.com/explorercode/jsonp.html
EDIT: If you don't want to use the jQuery 1.5rc1 release, you may want to consider using the
proxy.php file discussed earlier or a jQuery JSONP plugin.