Dashboard Cross-domain AJAX with jquery

前端 未结 5 1921
暖寄归人
暖寄归人 2020-12-19 10:21

Hey everyone, I\'m working on a widget for Apple\'s Dashboard and I\'ve run into a problem while trying to get data from my server using jquery\'s ajax function. Here\'s my

5条回答
  •  攒了一身酷
    2020-12-19 10:54

    If you are creating a dashboard widget, why don't you use the XMLHttpRequest Setup function in the code library of DashCode. Apple built these in so you don't need to install 3rd party JS libraries. I'm not sure about JSON support but perhaps starting here will lead you in a better direction.

提交回复
热议问题