SyntaxFix
Write A Post
Hire A Developer
Questions
An element can have any number of classNames, however, it can only have one class attribute; only the first one will be read by jQuery.
Using the code you posted, $(".alert-box.warn") will work but $(".alert-box.dead") will not.
$(".alert-box.warn")
$(".alert-box.dead")