search field replace a value
search field replace a value

Hello all,
I search all day yesterday but could not find any reply to my question
I have a code on which to some replacement with specific confition on editor search field .
Everything is ok with the replacement except I cannot change it on the search filed.
for example: if I type a3 instead of getting ǎ I get a3 .
I tried the below but nothing. any idea?
$('#vocabulary_filter').val(s);
This discussion has been closed.
Answers
Use the
search()
API with the search term. It will update the search input and perform a search of the table.Kevin
you mean to add this?
I fix it!
I change
to
and worked!
No.
search()
is a Datatables API. See the examples in the docs. Something like this:Kevin