datables alert with aLengthMenu : I use the plugin  https://datatables.net/
i want to add onclick on aLengthMenu and show the chosen value with alert here is my code: $(document).ready(function() { var oTable = $('# Table_id').DataTable({ 'iDisplayLength': '50', "aLengthMenu": [ [20, 50, 100, 200], [20, 50, 100, 200] ] }); var oSettings = oTable.fnSettings(); var x = oSettings._iDisplayLength; });
