With Javascript, i want to check a URL is reachable (existed, returning with HTTP Status 200, NOT 404, etc).
Let's say, how to know (by using JS) that:
- "https://www.google.com" (WebSite) .. is a reachable link.
- And, "http://code.jquery.com/jquery-1.11.3.min.js" (JS File) .. is also a reachable link.
- And, "https://www.microsoft.com/library/errorpages/Images/Microsoft_logo.png" (Image) also is reachable.
(They are NOT: broken, non-existed, 404, etc).
Again how to know, such:
are BROKEN, not-reachable, non-existed, 404, etc?