Forum Moderators: coopster
Thanks
Elizabeth
<form name="quick_find" method="get" action="../advanced_search_result.php">
<input type="hidden" name="search_in_description" value="1">
<P style="margin-bottom: 0">Search <input type="text" name="keywords" size="8" maxlength="30" value="Enter Keywords" style="width: 115px"><INPUT type="image" alt="Search" src="../images/icons/go_s.gif" align="middle" value="Search" border="0" name="I5"></P>
<TABLE border="0" cellspacing="0" width="100%" >
<TR>
<TD width="100%" class="headercart"><IMG border="0" src="/images/icons/cart_bask.gif"> $cartcontents</TD>
</TR></TABLE></form>
like this. In head:
<script language="JavaScript" type="text/javascript">
<!--
function clear_text(object) {
object.value = "";
object.focus();}
//-->
</script>
<input type="text" name="keywords" size="8" maxlength="30" value="Enter Keywords" style="width: 115px" onfocus="clear_text(this);">
This should work. If not, then ask this on javascript forum. In php it's impossible to do, as it's only server side language.
best regards
Michal Cibor