javascript - Cross-Origin AJAX request -


sometimes rules make no sense me.

how people make ajax request google api or that? mean have cross-origin? seems stupid... why can't make nonblocking ajax request google..

i've heard can use jsonp-- in case server has support format. want way make async ajax requests cross-origin pages.