javascript array from input fields
what is the best/easiest/fastest way to get an array of the values from a few input fields?
- <input type="text" name="a" value="x" />
- <input type="text" name="a" value="y" />
- <input type="text" name="a" value="z" />
to [ 'x', 'y', 'z' ]