javascript – Get data from columns of a given line with JQuery

I have a table where I pull the data of all the products that I have saved in the database, something like this:

code | description | value | ...
----------------------------
123456 | product 1 | 15,00 | ...
789123 | product 2 | 65,90 | ...

This table is hidden on the page and used to extract the data in the shopping cart (yes, it is a sales screen). Then the fun begins:

  1. I need to know how to do this, when the person enters the code in the search field, a search for that code in the table is performed.
  2. How can I return the values ​​of those related to this code.
  3. How to display this data on the screen when the person clicks on "Add to cart".

It's for end-of-course work, and that's the only aspect that I have more difficulty with; if you can help me, I will be very grateful to you. Vlww