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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -