Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2003
    Location
    Germany
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problems with JSE Search Script

    Hi there,

    i'm very new in the subject of Javascript. I'm trying to use the JSE Search Script from this website. Now I have a little problem. I need the results page to be displayed in another frame than the search page. How do i do this?

    Here is the code:


    // ---------- 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;
    }
    }

    Thank you very much for your help!!

    Phil from Germany

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    window.location = results_location;

    would be

    parent.framname.window.location.href = results_location;


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •