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

Q392 How can I direct the location chosen from a dropdown menu to a new page?

You are here: irt.org | FAQ | JavaScript | Link | Q392 [ previous next ]

Instead of using:

location.href = 'urltogoto.htm';

use:

window.open('urltogoto.htm');

or add a target="newwindowname" in the form tag.

©2018 Martin Webb