anyway to wildcard table ids?

anyway to wildcard table ids?

DacHolidayDacHoliday Posts: 16Questions: 3Answers: 0

any way to wild card an id?
e.g. (faillng example)

    __ ______________V_________________
 11   $('#mail_groups*').dataTable( {  
 12    "sScrollY": "400px",    
 13     "bScrollCollapse": true,
 14     "bPaginate": false,    
 15     "bJQueryUI": true,     
 16     "aoColumnDefs": [      
 17     { "sWidth": "10%", "aTargets": [ -1 ] }
 18     ],
 19 } );
 20 } );

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,389Questions: 1Answers: 10,449 Site admin
    Answer ✓

    This is a jQuery selector question more than a DataTables one. A quick Google search for jQuery selector wildcards found this page where I believe the top answer will do exactly what you are looking for.

    Allan

  • DacHolidayDacHoliday Posts: 16Questions: 3Answers: 0

    thanks! worked perfectly.

This discussion has been closed.