friendly search box
friendly search box
jcampbell2000
Posts: 3Questions: 0Answers: 0
Hello, with regard to the multi-filter example (http://datatables.net/examples/api/multi_filter.html), how can I modify the "Search all columns" box so that the descriptor is in grey inside the box, as it is on the footer search boxes?
Thank you
Thank you
This discussion has been closed.
Replies
Allan
$("example_filter input").val('Search all columns');
$("example_filter input").addClass('search_init');
$("#example_filter input").val('Search all columns');
$("#example_filter input").addClass('search_init');
However, although it adds the search_init class to input box, the text in the box is still black. Not sure why, but I just switched to changing the style tag on the box instead.
Thanks for your help.
Regards,
Allan