How to use checkboxes for search
How to use checkboxes for search
Hello,
I want to use Checkboxes for the search, but it doesn't work.
Here are the Code that I use:
[code]
$(function(){
$('.multiselect').multiselect({
header: 'Bitte wählen',
selectedList: 1
});
$('input[type=checkbox]').click(function() {
mytable.fnFilter($(this).next('span').text());
});
});
[/code]
the Code works but what is when I check more than one checkbox? How I can handle it?
I want to use Checkboxes for the search, but it doesn't work.
Here are the Code that I use:
[code]
$(function(){
$('.multiselect').multiselect({
header: 'Bitte wählen',
selectedList: 1
});
$('input[type=checkbox]').click(function() {
mytable.fnFilter($(this).next('span').text());
});
});
[/code]
the Code works but what is when I check more than one checkbox? How I can handle it?
This discussion has been closed.