I have the jquery json request in the following format:
JSON request:
$.getJSON('http://xyz.com',function(result) {});
If the request fails(server not responds), how do i redirect to another domain. for example "http://zxy.com".(we maintaining the same code in another server)