C
Chris Davies
I'm curious. I'd like to determine whether a particular URI scheme (the
"ftp:", ""http:" part) is available within the user's browser.
For example, consider this HTML snippet:
Telephone us on <a href="tel:+44113393xxxx">0113 393-xxxx</a>
I could extend the tag with an onClick handler that displayed an
alert() box (or similar), but ideally I'd like it only to do that if
the underlying URI scheme couldn't be handled by the user's browser.
Thanks,
Chris
"ftp:", ""http:" part) is available within the user's browser.
For example, consider this HTML snippet:
Telephone us on <a href="tel:+44113393xxxx">0113 393-xxxx</a>
I could extend the tag with an onClick handler that displayed an
alert() box (or similar), but ideally I'd like it only to do that if
the underlying URI scheme couldn't be handled by the user's browser.
Thanks,
Chris