The link example is here: http://jsfiddle.net/fxr5p/ How to make if value is empty, onload work onblur function? show type your keyword, then click the input part, onblur word disapear? Thanks.
<input type="text" value="" id="search" name="Search" onblur="if(this.value=='') this.value='type your keyword';" onfocus="if(this.value=='type your keyword') this.value='';">
1 Answer