To Clear a Field on Focus using Javascript you can use the following snippet.
Sample Javascript
<input type="text" onfocus="if(this.value == 'value') { this.value = ''; }" value="value" />
All the Code Snippets and Samples you need
To Clear a Field on Focus using Javascript you can use the following snippet.
<input type="text" onfocus="if(this.value == 'value') { this.value = ''; }" value="value" />
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to Clear a Field on Focus using #Javascript http://t.co/EobUtD02h8 #js #jquery #programming #code #coding #dev #de…
RT @CodeSnippetsNET: How to Clear a Field on Focus using #Javascript http://t.co/EobUtD02h8 #js #jquery #programming #code #coding #dev #de…
RT @CodeSnippetsNET: How to Clear a Field on Focus using #Javascript http://t.co/EobUtD02h8 #js #jquery #programming #code #coding #dev #de…
RT @CodeSnippetsNET: How to Clear a Field on Focus using #Javascript http://t.co/EobUtD02h8 #js #jquery #programming #code #coding #dev #de…
RT @CodeSnippetsNET: How to Clear a Field on Focus using #Javascript http://t.co/EobUtD02h8 #js #jquery #programming #code #coding #dev #de…