using jQuery .val() method for names[]

Adds names into simple Array