<script>
$(document).ready(function() {
var k = $('.tren li').filter(':not(:first):not(:last)');
alert(k[0]);
});
</script>
Live: http://jsfiddle.net/D9NTr/
It returns a message like [OBJECT HTMLLI ELEMENT]. How can I retrieve the value of the object?
http://jsfiddle.net/niklasvh/D9NTr/2/