Verify URL is valid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • psy

    #1

    Verify URL is valid

    Hello,

    How do I verify that a given URL exist before actually loding it using
    javascript?

    Thanks,


  • VK

    #2
    Re: Verify URL is valid

    Load it to a hidden div / iframe and check onError event from it.

    psy <per.syren@teli a.com> wrote in message
    news:bihkb.3373 9$dP1.106578@ne wsc.telia.net.. .[color=blue]
    > Hello,
    >
    > How do I verify that a given URL exist before actually loding it using
    > javascript?
    >
    > Thanks,
    >
    >[/color]


    Comment

    Working...