Does the machine you're making the request from have access to
http://Harshad-PC.local/ in general (what happens if you enter that in the
browser address bar)? If not, an Ajax call wouldn't work either.
On Tuesday, October 18, 2011 5:37:26 PM UTC-4, Harshad wrote:
>
> $.ajax({
> type: "GET",
> url: '
> http://Harshad-PC.local/devicemanager/default/get_response.json/192.168.1.24/107
> ',
> success: function(data,textStatus,jqXHR) {alert("Success! Data:
> "+data)},
> error: function(data,textStatus,jqXHR) {alert("Error: Failed to
> load data.")}
> });
>
> Tried that, still the same.
>