27th Sept (Thur) Day 15 Cross domain ajax

好了,我知道我脫了兩日的稿,我會補回的

正在做新的 minimal value product (MVP)
碰到很多 cross domain 的 AJAX
總結一下,cross domain 可以使用 jquery 的jsonp
會自動使用 success 的 callback 函數
cross domain GET 只是小菜一碟
dataType: 'jsonp',一下就好了

但 POST 卻是不可以 cross domain 的
我正在寫一個 PHP 是可以做中間的跳板
應該是一個很簡單的curl 吧

edit (28th Sept 2012): The php 跳板: http://www.joetsuihk.com/28th_sept_fri_cross_domain_ajax_post_proxy_php_...

p.s. 明天要去台灣六日,真的補得回脫的稿嗎?

Google