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