irt.org Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt

Q296 How can I alter a link so that if the browser supports JavaScript the user is taken somewhere else?

You are here: irt.org | FAQ | JavaScript | General | Q296 [ previous next ]

<A HREF="http://www.somewhere.com/" onClick="this.href='http://www.somewhereelse.com/'>Go somewhere</a>

©2013 Martin Webb

ArticlesFAQsGamesFeedback

FOLDOCRFCsInstant JavaScriptSoftwareBooksJavaScript Programmer's ReferenceAboutTop