Make your own free website on Tripod.com
"; if (document.search.query.value=="") //if the query box was left blank... alert("Please enter a string"); else //if text was entered into the query box... { for (var i=0; i"; } bigstring+=""; } } bigstring+="
"; } if (count==0) //if no records were matched bigstring is over written with a message saying so bigstring="
I found 0 records in the database
"; else //if there were entries matched, a count display is prepended to bigstring using neat string manipulation { bigstring=bigstring.split("")[0]+"
I found "+count+" records in the database

"+bigstring.split("
")[1]; } parent.bottom.document.open(); //the bottom frame is opened for writing parent.bottom.document.write(bigstring); //bigstring is dumped into the bottom frame parent.bottom.document.close(); //the bottom frame is closed //Voila, a search function in 60 lines of script }
Looking for a Company in your Area? Start your search here! To find a member in your area, please enter a search string and listings most closely matching your request will be displayed.
Case Insensitive