Hi all,
I'm trying to select an HTML element on my page that has a specific class and ID. Here's the tag:
<div class="statusLight" id="green"></div>
I tried this with no luck:
$statusLight = $('.statusLight#green');
I know that I could simply say
$statusLight = $('#green');
But I was trying to find a way to select it based on its class as well. Any help would be appreciated.
Thanks.