Why can't I use the jQuery Tooltip Plugin on a TR?
http://jquery.bassist开发者_JS百科ance.de/tooltip/demo/
I can't use this on a TR, specifically my selector is:
$(".alignment_tr td:not('.remove-link')")
I am not sure what you mean in your question. TR elements can have events attached to them, so there is theoretically no obstacle to have tooltips attached on them.
Your selector selects td
elements. If you want the tr
associated, just call .parent()
.
Alternatively, use :has()
:
$(".alignment_tr:has(td:not('.remove-link'))")
精彩评论