KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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 ]")
Tags (comma-separated)
Save Edits
Cancel