filter table on load

filter table on load

nathanfriendnathanfriend Posts: 2Questions: 0Answers: 0
edited March 2013 in General
Hi,
I've used $(".dataTables_filter input").val('Filter stuff here') to place a value in the filter field on load. How can I get this filter to automatically apply without having to manually select field focus and press return?

Cheers,

Nathan.

Replies

  • nathanfriendnathanfriend Posts: 2Questions: 0Answers: 0
    OK got it, found the answer here http://stackoverflow.com/questions/8938142/how-to-filter-data-on-page-load-using-jquery-datatables-plugin
This discussion has been closed.