JSON data not being returned - JQuery AJAX

前端 未结 5 1521
夕颜
夕颜 2021-01-26 06:10

I am testing out this script which retrieves the weather data from the URL. But for some reason I am not getting the response back. I have enabled cross-site. Can someone point

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-26 06:53

    try this you forgot to put JSONP which is used for cross domain requests:

    
    
    
        
        
    
    
        

    Let jQuery AJAX Change This Text

提交回复
热议问题