How to use checkboxes for search

How to use checkboxes for search

EvolutioEvolutio Posts: 2Questions: 0Answers: 0
edited November 2013 in General
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?
This discussion has been closed.