LisaJill—”...and is not difficult to implement”
There is always an exception…I am getting a “error on page” message at the bottom of the browser as soon as I type anything into the Livesearch box.
Notes: 1) I use welcome.php, not index.php
2) I have the livesearch.js in the same directory as the welcome.php file
3) I changed the livesearch.js file to:
liveSearchReq.open(“GET”, “./welcome.php/KB/livesearch?s=” + document.forms.searchform.s.value);
4) I have also unsuccessfully tried “/welcome.php/KB/livesearch?s=”
Thanks.
_______________________start Livesearch box template
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” />
<title>Untitled Document</title>
<script type=“text/javascript” src=“livesearch.js”></script>
</head>
<body>
<h4>Blog LiveSearch:</h4>
<form onsubmit=“return liveSearchSubmit()” name=“searchform” method=“get”
action=”/welcome.php”>
<input type=“text” id=“livesearch” name=“s” size=“15” autocomplete=“off”
onkeypress=“liveSearchStart()” />
</form>
<div id=“LSResult” style=“display: none;”><div id=“LSShadow”></div></div>
</body>
</html>
_______________________end Livesearch box template