On the client side using jQuery, I want to know if I can just check if a link URL is valid (i.e. doesn’t return a 404). This link points to another domain, so if I just use $.get() then I end up with a permission issue. I remember reading something about using a JSONP request, but I don’t remember.
Share
I found a solution that seems to work (using YQL):
Assumes the URL you want to check is in the variable ‘url’.