Dynamic data in searchbox
Dynamic data in searchbox

Hi,
How can i enter dynamic data in searchbox?
I have to use double quotes and static value to make it work. Is it possible to use dynamic data without quotes?
Like this :
$('#example').dataTable({
"search": {
"search" : name,
}});
This discussion has been closed.
Replies
This is from the
search.search
docs:As you noted it needs to be a string.
You can use the
search()
API insideinitComplete
for a dynamic search. For example:Kevin