how to get the first element of a list in javascript code example
Example 1: how to display first value of an array in jquery
alert(ary[0]);
Example 2: javascript get first element of array
console.log(ary[0]);
alert(ary[0]);
console.log(ary[0]);