I want to search the exact ID on a table with Jquery, but for example if a search de 47, it shows every number with 47 (47, 147, 247, 347,471,472, 473 …) and I only want the one that is 47.
This is the code I use.
$('#txtbuscaridit').on('keyup', function () {
tabladata
.columns(2)
.search(this.value)
.draw();
});
Example Image
I search for the correct function but can’t find it.
I only want it to bring the exact number
New contributor
AstroBalor AstroBalor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.