How can I get the selected item of LengthMenu dropdown ?

How can I get the selected item of LengthMenu dropdown ?

Tino_JoseTino_Jose Posts: 1Questions: 1Answers: 0

I need to get selected item fro the dropdown.

Answers

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    $("#" + the_id_of_your_table + "_length select").val();

  • allanallan Posts: 63,892Questions: 1Answers: 10,530 Site admin

    I'd suggest using page.len() to get the current page length.

    Allan

This discussion has been closed.