Open a page from search frame

Discussion in 'Javascript' started by Kojak, Sep 9, 2005.

  1. Kojak

    Kojak Guest

    I have a own search engine in a intranet. It can be opened by the
    search button or with the target="_search".

    On the page is a Textbox and a button. The page works well, but just
    opens in the wrong frame. I know the frame name I have to use is
    "_main" but I dont know how to use it with Javascript.

    function search( strKey ) {
    var strSearch= document.forms(0).txtSearch.value;
    document ??? .location.href='ViewPage.aspx?SrchKey=' + strKey +
    '&SrchString=' + strSearch ;
    event.returnValue = false;
    }

    Thanks for help
    Kojak
     
    Kojak, Sep 9, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jan
    Replies:
    2
    Views:
    478
    John W.
    Sep 2, 2003
  2. teo
    Replies:
    0
    Views:
    294
  3. Zalek Bloom
    Replies:
    1
    Views:
    215
    Aaron Bertrand - MVP
    Sep 23, 2003
  4. geefypants
    Replies:
    0
    Views:
    154
    geefypants
    Oct 28, 2004
  5. Kojak

    Open a page from search frame

    Kojak, Sep 9, 2005, in forum: Javascript
    Replies:
    5
    Views:
    118
    Kojak
    Sep 13, 2005
Loading...

Share This Page