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

Q2079 Can you make a button on a form act as a hyperlink?

You are here: irt.org | FAQ | HTML | Q2079 [ previous next ]

Yes, by using the code below:

<INPUT TYPE=BUTTON VALUE="Click me!" onClick="location.href='http://www.irt.org'">

Clicking on this button would transport you to irt.org.

Feedback on 'Q2079 Can you make a button on a form act as a hyperlink?'

©2013 Martin Webb

ArticlesFAQsGamesFeedback

FOLDOCRFCsInstant JavaScriptSoftwareBooksJavaScript Programmer's ReferenceAboutTop