jQuery DataTable - select number of result

jQuery DataTable - select number of result

faszynskifaszynski Posts: 11Questions: 0Answers: 0
edited November 2012 in General
I use jQuery DataTable and I want call my function when I select number of results from dropdown. How can I do that?

DataTable generate code:

[code]

Show
10
25
50
100


[/code]

So i try use function:

[code]$('select[name=displayData_length]').bind('change', function(event) {
alert($(this).val());
});[/code]

But it is not good, because I don't see alert() when I select number of result.

How can I do that? Maybe is another solution?

Replies

This discussion has been closed.