1man


Member since 07/01/2006

Name: Matt Hobbs

Location: London

Website: http://nooshu.com

2 snippets

10190 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

1man's Recent JavaScript SnippetsTagged form



« Prev 1 Next »
Click on an input field with a prefilled value, if that value equals the default then select it, if not leave it as it was. Relies on jQuery.
2 1117 posted 15 years ago by 1man
For forms with a default value onload you don't want your users to have to select the value, delete it and then insert their own input. This function focuses on a selected input, then it selects the default text so the user can easily type their o...
1 695 posted 16 years ago by 1man
« Prev 1 Next »