How to determine textarea class

How to determine textarea class

RTamasRTamas Posts: 1Questions: 0Answers: 0
edited May 2012 in General
Hello,

Since I've already got a css script for a nice looking textarea I'd like to ask how to determine a pre-defined textarea's class or ID.
Or it is possible to change it's class name to a custom one?

This is just a simple textarea which is used by to filter entries (search)
Here's my actual code I used:

[code]

$(document).ready(function() {
$('#example').dataTable( {
"sDom": ''
});
});

[/code]

Thanks.
- Tamás

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    The default filtering input is an element, not at . You can't change the class of the INPUT element itself, but you can change the class of the container element using sFilter ( http://datatables.net/styling/custom_classes#sFilter ). However, it might be eeriest just to add another option to your CSS to apply it to the input element DataTables adds to the document.

    Allan
This discussion has been closed.