I inherited an old web interface, that used default values in form input fields as follows: <INPUT type="text" name="username" value="Please input a username"> I have now changed it to the following <INPUT type="text" name="username" value="username.ath.forthnet.gr" onblur="if(this.value=='') this.value=this.defaultValue;" onfocus="if(this.value==this.defaultValue) this.value='';"> Time …
Continue reading →
Διαβάστε όλο το άρθρο στο "Don't fear the penguin" »
Μεταφράστε αυτό το άρθρο (Translate this article) »