Ajax检索数据时出错

I wanted to retrieve data using ajax, when open the url in browser it showing data but when i execute this url in ajax code error msg function is running however data is showing in browser. url: "http://live.nayatel.com/?json=1"

      $(document).ready(function() {

            $.ajax({
                type: "GET",
                url: "http://live.nayatel.com/?json=1",
                cache: false,
                success: onSuccess,
                error: onError
            });

    });

its a wordpress site and i used a plugin to retrive its data working in browser but not giving response text.

I have two suggestions, since I am not that sure about your problem.

a) Try changing

success: onSuccess,

to

success: function(data, status) {
             onSuccess(data, status);
         },

b) If that fails, try adding

crossDomain: true,