I am trying to get Json format data from this website .. http://www.livetraffic.sg/feeds/json
however when i use ajax.. i run into this particular error in my chrome con
Simpler you can perform an ajax query to a local php page which contains
header("Content-type: application/json; charset=utf-8"); echo file_get_contents('http://www.livetraffic.sg/home2/get_erp_gantry');
You just must have allow_url_fopen true.
allow_url_fopen