I found a solution that works (using YQL):
$.getJSON("http://query.yahooapis.com/v1/public/yql?"+ "q=select%20*%20from%20html%20where%20url%3D%22"+ encodeURIComponent(url)+ "%22&format=xml'&callback=?", function(data){ if(data.results[0]){ // do whatever } } );
Assumes the URL you want to check is in the 'url' variable.
Scott whitlock
source share