jquery get first value of array w3schools code example Example: how to display first value of an array in jquery alert(ary[0]);