Search
 
SCRIPT & CODE EXAMPLE
 

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');

Comment

PREVIOUS NEXT
Code Example
Javascript :: Example React Hook 
Javascript :: multiple checkbox validation in javascript 
Javascript :: javascript set() method 
Javascript :: modify array js 
Javascript :: nested function 
Javascript :: how to get child element in javascript 
Javascript :: redux action creators 
Javascript :: Stringy.JS 
Javascript :: nodejs redis 
Javascript :: json in python 
Javascript :: react tweet embed 
Javascript :: jQuery - AJAX load() Method 
Javascript :: node js crud operation 
Javascript :: define function 
Javascript :: nvm use a particular version 
Javascript :: get date format javascript 
Javascript :: javascript test cases 
Javascript :: add new html from javascript 
Javascript :: mock javascript function 
Javascript :: bonjour 
Javascript :: javascript eval alternative 
Javascript :: take one character in end of string javascript 
Javascript :: react functional component 
Javascript :: javascript greater than or equal to 
Javascript :: Iterating or loop through the elements of an array is with a for loop (for): 
Javascript :: firebase integration in react 
Javascript :: javascript delete element of an array 
Javascript :: query selector js 
Javascript :: how to pass props in react 
Javascript :: what is process.env.NODE_ENV 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =