You are here: irt.org | Articles | JavaScript | Object | Searching [ previous next ]
Published on: Sunday 9th February 1997 By: Martin Webb
<html lang="en">
<head>
<title>Search Tools</title>
</head>
<body>
<script language="JavaScript"><!--
function goSearch() {
parent.vhref = document.form1.vhref.checked;
parent.vdesc = document.form1.vdesc.checked;
parent.vtech = document.form1.vtech.checked;
parent.vdate = document.form1.vdate.checked;
parent.searchtext = document.form1.searchtext.value;
parent.results.location.href = 'results.htm';
}
//--></script>
<table
cellpadding="0"
cellspacing="0"
border="0"
width="100%"
height="100%">
<tr valign="middle">
<td width="100%" align="center">
<form name="form1" onSubmit='goSearch();return false'>
<input name="searchtext" value=""><input type="submit" value="Search">
<i>Display URL: <input type="checkbox" name="vhref" checked>
Description: <input type="checkbox" name="vdesc" checked>
Techniques: <input type="checkbox" name="vtech" checked>
Date: <input type="checkbox" name="vdate" checked></i>
</form>
</td></tr></table>
</body>
</html>Arrays, Object Arrays and Sorting