How to get value of listboxes separately in a table

How to get value of listboxes separately in a table

Hi,

I have a table and each row has a dropdown and a listbox. There is an option to add rows on the fly, so if the "Add" button is clicked another row with dropdown and listbox is added.

Now, I would like to know how I can get the value of the dropdowns with selected list items in the associated listbox
let say, the listbox is called alllstSearch, I will get all the values of the listboxes (for all rows) with the following syntax
alllstSearch.join()

But I won't be able to know which row it belongs to. Please advice. Your help would be greatly appreciated!