JQuery get the nth element of array
arrays, jquery
Solution
$('#button').click(function() {
alert($('.column').eq(0).val()); // first element
alert($('.column').eq(1).val()); // second
alert($('.column').eq(2).val()); // third
});
Problem
``` $('#button').click(function() { alert($('.column').val()); }); ``` How could I get the first, second, or third element in `.column`?