variable in the page where the user clicks on it 'search box'
variable in the page where the user clicks on it 'search box'
khalilkarimpour
Posts: 2Questions: 0Answers: 0
Hi, I have a question that you had. I was about DataTable I asked. Whether a variable is a variable in the page where the user clicks on it 'search box'And will be searched. How can a variable to search for?
This discussion has been closed.
Replies
$('#example').dataTable( {
"fnInitComplete": function () {
var that = this;
this.$('td').click( function () {
that.fnFilter( this.innerHTML );
} );
}
} );
} );
In the above code on your "fnInitComplete" that will click. Search box goes on. How this is done?. How variable is sent to the 'search Box'?.