js get all values after selected option code example Example: javascript get all options from select x.options.length