Adding other elements to filter area breaks searching
Adding other elements to filter area breaks searching
I wanted to add a couple radio buttons to the search/filter area that control some things I'm doing with the table data.
So I used some JavaScript to move those into the area next to the search box, but found that this breaks searching. I'm guessing it has something to do with how datatables is grabbing that input?
I would like to suggest adding an ID to this element and grabbing the data using the ID. I think right now its probably looking for all the inputs in that 'name'_filter div, and it only expects one, so when I have a couple more in there it breaks.
So I used some JavaScript to move those into the area next to the search box, but found that this breaks searching. I'm guessing it has something to do with how datatables is grabbing that input?
I would like to suggest adding an ID to this element and grabbing the data using the ID. I think right now its probably looking for all the inputs in that 'name'_filter div, and it only expects one, so when I have a couple more in there it breaks.
This discussion has been closed.
Replies
Allan