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