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