• Nike free run 2 pink
  • Nike free 5.0 kids
  • Oakley sunglasses discount
  • CodeAve.com CodeAve.com - JavaScript - Forms
    ASP
    JavaScript
    ·Document Info
    ·Forms
    ·Images
    ·Miscellaneous
    ·Navigation
    ·Script Writers
    ·Contents
    ·What's New?
    CSS
    HTML
    Maps
    Links
    Mail List
    Search
    Sitemap


     

  • Retro 3 jordans
  • Jordan 13 retro
  • Nike free 5.0

  • Search Many Sites from One Location
  • Air jordan 11 low
  • New Balance 996
  • Ray ban vintage sunglasses
  • Incorporate the search capabilities from many search engines into one form on your site. JavaScript can take text box input and combine it with the search url from most any website to begin a search to almost anywhere from one form on your site. The search url’s for a few sites are listed in selection options and when a site is chosen and a search query started it will result as if the query started on that sites form.
    View the Output
    Text View
    Print View
    Mail this Link
    Download the Code

    <html>
    <title>CodeAve.com(JavaScript: Search Many Sites)</title>
    <body bgcolor="#FFFFFF">

    <script language="JavaScript">
    <!--
    function search_site()
    {
    // Build the destination url by placing the selection option first
    var url = document.search_form.site.options[document.search_form.site.selectedIndex].value 
    // Append the text box input to the search url for the selected site
    url = url + document.search_form.u_search.value;
    // Change the the browser location to the new url
    window.location.href = url;
    }
    -->
    </script>


    <center>

    <form name="search_form">
    <input tpye="text" name="u_search">
    <select name="site" size="1">
    <option value="http://search.yahoo.com/bin/search?p=">Yahoo</option>
    <option value="http://www.go.com/Titles?qt=">Go.com</option>
    <option value="http://www.goto.com/d/search/?Keywords=">GoTo.com</option>
    <option value="http://search.excite.com/search.gw?search=">Excite</option>
    <option value="http://www.lycos.com/srch/?query=">Lycos</option>
    <option value="http://hotbot.lycos.com/?MT=">HotBot</option>
    <option value="http://www.altavista.com/cgi-bin/query?&q=">Alta Vista</option>
    <option value="http://www.webcrawler.com/cgi-bin/WebQuery?searchText=">WebCrawler</option>
    <option value="http://www.mamma.com/Mamma?&query=">Mamma.com</option>
    <option value="http://search.aol.com/dirsearch.adp?query=">AOL.com</option>
    <option value="http://search.msn.com/results.asp?q=">MSN.com</option>
    </select>
    <input type="button" value="Search" onClick="JavaScript:search_site()">
    </form>

    </center>
    </body>
    </html>

     

     

     



    ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
    Server Variables | Response Objects | Random Events | Miscellaneous
    HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
    JavaScript: Document Info | Forms | Images | Navigation | Script Writers
    CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

    jordan 11 gamma Nike KD VI lebron 11 low