I'm trying to get values from my HTMLOListElement object, but allways return undefined.
This is my function:
$("#finish").click(function(){
var elems = document.getElementById( "selectable2" );
var arr = jQuery.makeArray( elems );
arr.reverse();
confirm("It will generate the group: " +groupname+ " with that users:" +arr+".");
});
selectable2 - this is a list on Jquery.
Finally allways get the same from the Confirm windows:
It will generate the group: examplegroup with that users:[object HTMLOListElement].
How can i get the values tag from that object?
Thanks everyone. Marc.