Get a <li> elements index value on click with jQuery
Recently I needed to find out the element index of a List element when clicked. I managed to come up with the code that enabled me to do that using jQuery. First you need to set up your HTML code with an id of ‘bourne’. You don’t have to use bourne, use whatever you like.... View Article
1 Comment