i have html like below. When the anchor tag is hovered i want to change the th background.
How can i target the th?
(There are several rows so i need to use $this rather than just using the id )
i tried $(this).prev("th") but no joy
<th colspan="3" width="100%" id="course-title">
<span><a id="title" href=""><?=$title?></a></span>