[Javascript] Search Box to Show Default Text on Load and Cleared When Focused

Post Thumbnail of [Javascript] Search Box to Show Default Text on Load and Cleared When Focused

Very often we want our search box to show a default text such as “Search…” when it is loaded. Then when users clicked on the search box, the word is cleared, allowing user to enter their search query. We will see how to do that in this short guide in both plain Javascript and jQuery.

Filed in Web Development
Posted on 9 July 2012 • 1 comment

Create a Fancy Search Box using CSS

Post Thumbnail of Create a Fancy Search Box using CSS

Nowadays, most websites come with a search box to improve surfing experience. To make your website looks good, beside having a nice looking theme, you would need a fancy search box to replace the classic ones.

Filed in Design Tips
Posted on 8 June 2009 • 110 comments