I have the below anchor tag with an ID tied to a record in my database. I want to do something in javascript to say if dhx_1_id = 6669 then make calevvw's backround blue else make it white. Is this possible? Thanks.
<a id="calevvw" dhx_l_id="6669" data-ajax="false" href="eventview.php?eventid=6669" class="dhx_list_item dhx_list_day_events_time" style="width:auto; border-bottom: 1px solid #cbcbcb; padding:px; margin:px;">
</a>
data-for one custom attribute, but not for the other?#calevvw[dhx_1_id=6669] {background-color: blue}