Need help for search box tweaking
-
currently my search function work well
Problem :when a user want to search and he click on the keyword field
standard Search eg books always appear user have to
manually delete(back space) those Search eg books and
have to type the keyword .
what i am looking for, if a user place the mouse in keyword area Search eg books should disappear and keyword should be shown in search box in search page after submit, when user mouse back or return to any page search field should show again Search eg books
i tired using onfoucs but i think my code is wrong can you guys help me out
my code
<?php if(is_search()) { the_search_query(); } else { ?>Search eg books<?php } ?>
The topic ‘Need help for search box tweaking’ is closed to new replies.