Hide/Show input box value on focus

For hiding the input box value on focus you just copy and pate the following code within you input box.

onfocus=”javascript: if(this.value==’Name’) { this.value=”;}”
onblur=”javascript: if(this.value==”) { this.value=’Name’; }”

You can leave a response, or trackback from your own site.

Leave a Reply