js get all values in select code example Example: javascript get all options from select x.options.length