Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ejs toggle class

class="box-filho <%=menu=='enderecos' && 'active'%>"

class="box-filho <%=menu=='enderecos' ? 'active' : 'other' %>"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ejs #toggle #class
ADD COMMENT
Topic
Name
1+9 =