jquery, selector for class within id
jquery
Solution
You can use the class selector along with descendant selector
$("#my_id .my_class")
Problem
Below, how should I select the elements that contain the class `my_class` within the element with `id = "my_id"`? Note that the element may also have another class, which I am not selecting for. ``` <div id = "my_id"> <span class = "my_class hidden">hi</span> <span class = "my_class">hello</span> </div> ``` was trying ``` $("#my_id [class*=my_class ]") ```