To select 2nd element from ul element, you can use nth-child() function and it looks like this: $('ul > li:nth-child(2)'); To find nth element from the list then you can pass the index 'n' to it. $('ul > li:nth-child(n)'); The following code finds 2nd element from the list and handles a mouseover event.    let list = $('ul > li:nth-child(2)');
list.on('mouseover', function(){
// mouseover handle logic comes here.
});