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.va lue;
document ??? .location.href= 'ViewPage.aspx? SrchKey=' + strKey +
'&SrchString= ' + strSearch ;
event.returnVal ue = false;
}
Thanks for help
Kojak
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.va lue;
document ??? .location.href= 'ViewPage.aspx? SrchKey=' + strKey +
'&SrchString= ' + strSearch ;
event.returnVal ue = false;
}
Thanks for help
Kojak
Comment