I want to check the li that is the last li in ul. How can I check that using jQuery?
li
ul
You can use the .last() matcher
.last()
$('#ulscroller li').last()