I am struggling with jQuery selection: I have a table containing these columns (more or less)
- Name (input field)
- Surname (input field)
- Note (textarea)
- Button (button for sending a relative note)
I would like to hide all buttons whose text area is empty (to avoid presentation). This is the table:

The DOM structure of one line is pretty simple (I think):

So, I would like to select something like "all buttons contained in td, which is the brother of td, which combines the empty text area" ... anf anf ... can I do this with a single jQuery choice or not? Thanks in advance.
source
share