3 odpowiedzi
+ 3
Target of filter mismatch with the way your data is stored. Because you are adding new data by appending td to the tr with id tab (that is also why your new data appear on right of previous data) But then your search function is filtering content of first td of each tr of the table with id myTable Modify line 7 of your js tab: After creating the td, create a tr as parent of this td, and append this tr to myTable instead. You are one step close to finishing this I think you can do this yourself. Below is for you just in case you cannot figure it out : https://code.sololearn.com/WTC9cr2DVBu4/?ref=app
31st Dec 2018, 8:34 AM
Gordon
Gordon - avatar
+ 2
Can you edit your question and change the tag from code and error to jQuery and search engine? Otherwise later sololearners with similar problems are unlikely to find this question by searching in Q&A
31st Dec 2018, 9:22 AM
Gordon
Gordon - avatar
0
thanks
31st Dec 2018, 1:57 PM
B.D
B.D - avatar