Using Jquery to check if a URL is valid
- by user102533
A long running background process creates a text file to indicate the completion of the process. From the frontend, I'd need to check every few seconds if the text file has been created or not.
I am doing this check from However the file is created in http://DomainB.com/Mytext.txt
Can someone help me write a jquery script that checks for a file across domain?
PS: Currently, I am doing a ajax postback that executes a WebMethod in ASP.NET that creates HttpWebRequest. This works functionally, but I have major performance problems. So, I need a light weight way of finding if a URL is valid or not.