How show text in input box and clear it in on click/on blur on focus on text box
Examaple:
Copy The Code Below
<input type="text" onblur="if(this.value==''){this.value='NAME';}" id="txtName" onfocus="if(this.value=='NAME'){this.value='';}" value="NAME" />
Comments
Post a Comment
Thank you for your Comment