Friday, October 29, 2010

show and hide text in texbox

jQuery(document).ready(function(){
     jQuery('#search').focus(function(){
 if(this.value=='Search fonts to Download...') { this.value='' }
     });
    jQuery('#search').blur(function(){
 if(this.value=='') { this.value='Search fonts to Download...' }
   });
});