jQuery DataTable - select number of result
jQuery DataTable - select number of result
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?
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?
This discussion has been closed.
Replies
Allan