jquery - Keep datatable search results displayed -


i keep previous datatable searches displayed after new search performed. using code below datatable filtered display current search.

 $('#filterbox').keyup(function() {     if (this.value.length > 7) {         equipmenttable.search(this.value).draw();         $('#equipment').show();     } }); 

basically want stack datatable searches, there way this?

i thought creating new datatable hold searched items, populating each time search performed.

 var searchedrow = equipmenttable.search(this.value).row( { filter : 'applied' } ).data();  

not sure if best way go however.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -