Please could someone help me. I am a relative newbie, and have the following function on my php search page on my Joomla! site.
<?php
}
}
function showSearchForm( $dropListsArray ,$config,$items ,$pageNav,$fiel dData,$searchSt ring,$catid,$to tal,$phrase,$re s) {
global $mosConfig_live _site,$mosConfi g_absolute_path ,$my;
if(!$searchStri ng)
$String = 'Search...';
else
$String = $searchString;
?>
to show a search field with the text Search... in it.
The page is working beautifully, but I would be truly grateful of someone could tell me whether I can do an onclick type function to clear the text, so the user does not have to hightlight and delete, and provide me some assistance as to how and where I would have to put the extra snippet of code to do it.
Thanks,
Midnightblue