Let say I have the following HTML elements:
<div id="id">
<div class="first">
<div class="second"></div>
</div>
</div>
I'm wondering why this doesn't work in jQuery:
$("#id.first.second").click( // do some stuff ...
I usually use something like the following which works fine, but today I just found out that the above example is not working.
// working example
$("#id .second").click( // do some stuff ...
Update: My question is why it is not working without spaces? Thanks!