Does anyone know how to select the last element of a select, since the select is dynamic and I would always like to select the last one ?
1. with css :last-child could be a option.
2. Storing the options and counting them and then taking that value to select the last option?
1 Like