Hi Joe,
Thanks a lot for your suggestion. It works. However, I got error while
calling remotely with the following exception from javascript:
invalid label
[Break on this error] {"user":{"items":[{"name":"Vinod
Abraham","email":"[EMAIL PROTECTED]"},{"name":...
when using
$.getJSON("http://w
The getJSON uses the XMLHttpRequest to make the ajax call. The
XMLHttpRequest doesn't support remote website calls.
The odd thing is that the remote call was actually working for you at your
office -- it shouldn't.
If you do need to use ajax with a remote url, you can use JSONP, which is a
work
And it wouldn't, as that would be a crosssite scripting instance, which
isn't permitted.
--
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Futu
I've had issues where jQuery's JSON requests were treated as XHRs if
there was no JSONp callback. That obviously doesn't work going cross-
domain.
If you change your url to /http://stufftolet.com/test/usercontacts.js?
callback=?" it should work, though you're going to need to hook up the
result.
4 matches
Mail list logo