Ades Design - High Quality Website Templates, Free Website Templates, Tutorials: Photoshop, Dreamweaver, Flash, CSS and PHP


How to auto-clear the form field when user clicks
Home » Tutorials » Other » Javascript


Some very useful things in web design and web-usability are the ones which are extremely easy to implement, for example to implement this auto-clear feature in your form it just takes you to insert only a line of code. Example

So this is the code you should be inserting to every field that you want to auto-clear when the user clicks or when the field is onFocus state:

onFocus="this.value=''"

Here is how it will look like inside your form code:

<form>
<input type="text" onFocus="this.value=''" value="Your Name">
</form>

Color Picker for your AdSense job more info
 



 


Advertise | AdesBlog New | Free Templates | Premium Templates | Products | Services | Portfolio | Contact

2002 - 2007 Ades Design. All Rights Reserved. http://www.adesdesign.net

 











Logo Design, Web Design, Graphic Design (Cartoons, Caricatures etc.)
Software Development Company 
Search Engine Optimization by Design
Logo Design
Advertise Here