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
    Aug 2002
    Location
    Iowa
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Double Combo help

    I downloaded and installed the Double Combo script found here http://javascriptkit.com/script/cut183.shtml
    My question is: how do I get the links to open in a new page. I am using frames on my site and would like the links to open in a new or separate page.
    Exactly where would I made the changes in the script? I'm not very experienced in form scripts.
    Last edited by ArtC1946; 08-26-2002 at 03:32 AM.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Depends on the time of year
    Posts
    478
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <script>

    function some(){
    var new_win = window.document.doublecombo.stage2.value;
    var openup = window.open(new_win,'open');
    }

    </script>

    <form onsubmit="some();"> //add the onsubmit section

    Should work, if not, let me know, half asleeeeeeeeeepp...

    Duniyadnd


  •  

    Posting Permissions

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