Hello everyone i am wanting the search results for my Js search engine to open into a target frame named "main" and i cant figure out how to do it any help is apreciated here is the code below very short
// ---------- script properties ----------
var results_location = "results.html";
// ---------- end of script properties ----------
function search_form(jse_Form) {
if (jse_Form.d.value.length > 0) {
document.cookie = "d=" + escape(jse_Form.d.value);
window.location = results_location;
}
}
glenngv
06-29-2004, 06:13 AM
Change this line:
window.location = results_location;
to:
window.open(results_location, "main");
jamesgraham2k1
06-29-2004, 06:27 AM
Works perfectly thank you