This would involve CSS and JavaScript. Use CSS to style the input box with a background-image of the magnifying glass. Then you can use JavaScript to handle the onclick and blank out the field if it is set to defaultValue. I am not sure of any good scripts that do this out of the box, but it shouldn't be too hard.