Add Default Text to the Search Field
From KickApps Documentation
//add default text to the search field
$j("input.ka_searchField").attr("value", "Search this community").css("color", "gray");
//remove the default text when the search field first gains focus
function removeSearchText(event) {
$j("input.ka_searchField").attr("value", "");
$j("input.ka_searchField").unbind("focus", removeSearchText);
}
$j("input.ka_searchField").bind("focus", removeSearchText);
Favorites






