Check for Redirect url is correct or not??

Posted by Akshata on Stack Overflow See other posts from Stack Overflow or by Akshata
Published on 2010-05-19T10:36:10Z Indexed on 2010/05/19 10:40 UTC
Read the original article Hit count: 236

Filed under:

I am calling window.location.href = "some url";

I want to check whether that url is opening or not. Means if the url is wrong how do check it in javascript so that I can redirect it to another url.

Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript