Hello, I am trying to send an HTML input as text to:
table.column(1).search(searchQuery).draw();
however it seems to not like all type of text. So if my input is 1 it works fine. however if my input is a conditional statement
then it fails. for instance if my input is:
(d) => d > 1 && (d) < 3
it fails.
but if I do the following it works:
table.column(1).search((d) => d > 1 && (d) < 3).draw();
so I am assuming it doesn't handle text as I thought it did? or is there another trick to achieve this?
Thank you.