make link open a new page

Posted on 2004-11-02
Last Modified: 2010-04-09

Whatc ode do I put in, and where, to make below open up a new window for result. Thanks

<form name="amazonsearch" action=" ">
     <input type="hidden" name="keyword" value="<?php echo $search; ?>" />
    <input type="hidden" name="mode" value="blended" />
    <input type="hidden" name="tag" value="playmac-20" />

<div align="left">    

<a href="#" onclick="document.forms['amazonsearch'].submit(); return false;"></a>


Question by:macuser777
    LVL 27

    Accepted Solution

    <form name="amazonsearch" action="" target="_blank">
    LVL 4

    Author Comment

    LVL 27

    Expert Comment

    no problem :)

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    "I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now