Using YQL and Jquery to check URL validity

Posted by user102533 on Stack Overflow See other posts from Stack Overflow or by user102533
Published on 2010-05-08T11:26:21Z Indexed on 2010/05/08 11:28 UTC
Read the original article Hit count: 140

Filed under:
|
|

The answer in this post http://stackoverflow.com/questions/2119680/use-jquery-to-check-if-a-url-on-another-domain-is-404-or-not shows how to use YQL in Jquery to check if URL is valid or not. However, I can't get this to work for me. The only difference I can think of is that my URL is a text file (http://mycrossdomain.com/sometext.txt) and not HTML.I think the YQL query needs to be adjusted accordingly. Any help is appreciated.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about yql