I have an html table and in one column i have dropdown select. i would like a selector to get a handle to the dropdown in the last row of the table and change it to just regular text (using the value in the select). here is the tricky part, in some cases the last row will not have a dropdown and it will just be text in this cell and in this case i want to do nothing.
so i am need something that supports the following logic:
Get dropdown select in lastrow of table and convert to text. If there is no dropdown in that cell then do nothing.