Script Categories

Forms >>> Search Box.

This JavaScript search form opens a seperate window where you can select from search engines such as Yahoo!, Excite, and more.

Search the internet for:

(A separate window will open where you can select a search engine.)

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function searchFunc() {
var newWindow ="about:blank", "searchValue", "width=200, height=200, resizable=no, maximizable=no");
var searchValue =;
var yahooSearch =;
var altavistaSearch =;
var webcrawlerSearch =;
var exciteSearch =;
newWindow.document.write("<html>\n<head>\n<title>Select Seach Engine</title>\n</head>");
newWindow.document.write("<a href='" + yahooSearch + searchValue + "' target = 'main'>Yahoo!</a><br><br>\n");
newWindow.document.write("<a href='" + altavistaSearch + searchValue + "' target = 'main'>Altavista</a><br><br>\n");
newWindow.document.write("<a href='" + webcrawlerSearch + searchValue + "' target = 'main'>WebCrawler</a><br><br>\n");
newWindow.document.write("<a href='" + exciteSearch + searchValue + "' target = 'main'>Excite</a><br><br>\n");
newWindow.document.close(); = "main";
//  End -->
<form name="search">
type=hidden name=yahoo value="">
type=hidden name=altavista value="">
type=hidden name=webcrawler value="">
type=hidden name=excite value="">
Search the internet for:
<input type=text size=25 name=queryField>
<input type=button value="Search" onClick="searchFunc()">
type=reset value="Clear">
(A separate window will open where you can select a search engine.)

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).