Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Open a page from search frame

Reply
Thread Tools

Open a page from search frame

 
 
Kojak
Guest
Posts: n/a
 
      09-09-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open page with: Frame + specified Page inside teo ASP .Net 0 12-06-2006 02:37 PM
Open a page from search frame Kojak Javascript 5 09-13-2005 02:34 PM
Open page in an already open frame - works in ie but not in Mozilla geefypants Javascript 0 10-28-2004 10:45 PM
how to redirect from 3 frame page to single page frame? Zalek Bloom ASP General 1 09-23-2003 02:23 PM
page must be open in a frame from a other page Jan HTML 2 09-02-2003 03:50 PM



Advertisments