add placeholder to search Input filed
add placeholder to search Input filed

Alan, please can you add the palceholder function to all input fields, so it is easyer for everybody to use.
Adding by jquery is not possible??
http://datatables.net/forums/discussion/7616/adding-placeholder-to-the-filter-text-input/p1
Somebody a quick and short idea?
Adding by jquery is not possible??
http://datatables.net/forums/discussion/7616/adding-placeholder-to-the-filter-text-input/p1
Somebody a quick and short idea?
This discussion has been closed.
Replies
[code]
editor.add( {
"label": "Name:",
"name": "name",
"attr": {
"placeholder": "Your name"
}
} );
[/code]
The `attr` option is attractive because it allows any HTML attribute to be controlled on the input element.
Regards,
Allan