<div class = "a">
<div class = "a b">
text
</div>
</div>
<script>
alert($(".a").html());
alert($(".a b").html());
</script>
I have to add a script to a HTML page that I didn’t write, and in this script I need to select a class that has a name containing two words separated by space. The normal selector won’t work. How do I select it?
Any of the following will work: