Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how i get selected class of li in jquery

<ul id="attached_deals_tab">
    <li class="active"></li>
    <li></li>
    <li>
        <ul>
            <li class="active"></li>
            <li></li>
        </ul>
    </li>
</ul>

<!--jquery code-->
$('#attached_deals_tab li.active');

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selected #class #li #jquery
ADD COMMENT
Topic
Name
1+6 =