Je's Storehouse

Thursday, August 15, 2013

AJAX - External Domain

Use jsonp! (GET only) or use proxy

jsonp : jquery example
http://stackoverflow.com/a/3506306


References
http://en.wikipedia.org/wiki/JSONP

http://stackoverflow.com/questions/9310112/why-am-i-seeing-an-origin-is-not-allowed-by-access-control-allow-origin-error
http://stackoverflow.com/questions/3506208/jquery-ajax-cross-domain

http://api.jquery.com/jQuery.getJSON/


Posted by Unknown at 2:21 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Total Pageviews

16253

Blog Archive

  • ▼  2013 (39)
    • ►  September (4)
    • ▼  August (34)
      • htpasswd without apache
      • WWDC 2013 Summary : 226-HD Implementing Engaging U...
      • WWDC 2013 Summary : 228-HD Hidden Gems in Cocoa an...
      • Regex : Foo not with Bar on line
      • Java8 Features
      • Linux Redmine-Thin Systemd(Systemctl) Service Daem...
      • Cocos2d-html5 has some difference with JSB
      • iOS Dev Weekly Memo - Issue 108 - 23rd August 2013
      • Boost up gem install
      • Git over HTTP Memo
      • Linux Nginx Systemd(Systemctl) Service Daemon Regi...
      • Javascript code completion editor compare
      • Redmine on ArchLinux
      • Jenkins-CI on ArchLinux via Nginx Proxy
      • Get rid of annoying "__rvm_add_to_path :command no...
      • Arch Linux $Path Environment Variable
      • Today Simple Memo
      • iOS Development Memo
      • Objective-C Singleton
      • jqTree - Keyboard Unbind
      • [MYSQL] Get Auto Incremented Key when INSERT INTO
      • Bootstrap - Tooltip
      • [Knockout.js] Watch out when using "IF" statement
      • AJAX - External Domain
      • PHP Array Issue when using as parameter
      • Raywenderlich Summary - Shooting Game with Cocos2d
      • Bootstrap Align
      • Bootstrap Align Left or Right
      • TernJS - The best code completion for cocos2d-HTML5
      • Xcode 5 and LLVM Build Recommendation both iOS and...
      • Xcode - Move Focus
      • Remarkable - in iOS 7 UI Transition Guide
      • Hide status bar in iOS7
      • 10 Useful Xcode(5) Things
    • ►  July (1)

About Me

Unknown
View my complete profile
Simple theme. Powered by Blogger.