I am trying to check value for an <html> tag's attribute using following jquery code:
if ($('[data-theme == "dark"]')) {
        $(".epcBanner").css("url", "(~/Content/Images/EPC-.png)");
    }
HTML
<html data-theme="dark>
All I'm trying to check is data-theme's value and above code is not working. How can this be achieved. Thank you in advance.
 
     
    