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...' }
   });
});

Comments

Popular posts from this blog

Set limit wp_nav_menu

Conut document have children that are show in navigation