[SOLVED] Filter one way for certain table
[SOLVED] Filter one way for certain table
MrBaseball34
Posts: 96Questions: 0Answers: 0
I have more than one DataTable on my site and need to handle the keyup differently for one table and am not sure how to do this.
I want to do this in the keyup for the one table and the standard functionality for all the others.
[code]
jqFilter.keyup( function(e) {
if(How do I check table id here ????? ) {
oSettings.oPreviousSearch.sSearch = this.value;
} else {
// Update all other filter input elements for the new display
var n = oSettings.aanFeatures.f;
for ( var i=0, iLen=n.length ; i
I want to do this in the keyup for the one table and the standard functionality for all the others.
[code]
jqFilter.keyup( function(e) {
if(How do I check table id here ????? ) {
oSettings.oPreviousSearch.sSearch = this.value;
} else {
// Update all other filter input elements for the new display
var n = oSettings.aanFeatures.f;
for ( var i=0, iLen=n.length ; i
This discussion has been closed.
Replies
[code]
if(oSettings.sTableId == 'tableid')
[/code]