Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82115

Add class to a control using sDom

$
0
0
I would like to add a bootstrap class of 'search-query' to the search input using sDom. Is this possible. The resulting markup would look something like...

<div class="dataTables_filter" id="search-grid_filter">
   <label>Search: <input class="search-query" type="text" aria-controls="search-grid"></label>
</div>

Thanks.

Viewing all articles
Browse latest Browse all 82115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>