trigger the search
trigger the search
how can I trigger the search on an html object,
by example on the click of a button or on change of a select box? and not with the key press on the search box.
Something similar to what fnFilter function do, but I need just to invoke the search to make my own WHERE parameters in the query like 'is not null' or a sort of that.
Thanks in advance.
by example on the click of a button or on change of a select box? and not with the key press on the search box.
Something similar to what fnFilter function do, but I need just to invoke the search to make my own WHERE parameters in the query like 'is not null' or a sort of that.
Thanks in advance.
This discussion has been closed.
Replies
$('#whatever select').change( function() { oTable.fnFilter( $(this).val() ); } );.
Does that help?
Allan
Thanks,
-k
NEVERMIND - fixed it myself. Unfortunately, javascript isn't my cup of tea :-)
work, but:
$('#orderstatus').change( function() { oTable.fnFilter( $(this).val(), 9 ); } );
does not work once I want to limit the filter to column 9?
Thanks in advance.