<td>
Some stuff here
<span style="display: none;">sekret stuff here</span>
</td>
How would I go about getting the content of the <span> tag in that td, so that my output would be “sekret stuff here”, using jQuery?
I’ve tried a couple of different things, but couldn’t get anything to work. =/.
This will alert the contents of the
spanwhen hovering over thetd, only if thetdhas anspanelement inside: