jamesgraham2k1
06-29-2004, 12:07 AM
I am trying to add a js search engine to my web site. it works great except for 1 minor problem the results page will not load into the desired frame wich is called "main" I was wondering how to alter the code to acheive this thanks in advance for any help.
// ---------- 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;
}
}
// ---------- 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;
}
}