It's just like the HTML5 placeholder attribute, but done solely via jQuery.
Works with simple input text fields and textareas the same.
The inline description text can be styled via CSS.
The text to be used as the field's description can be taken from the field's title attribute or passed via a JavaScript function.
Also, on form submission, these default values are cleared, so only user generated data is sent to the server.
A demo is included with the download package.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |