I want to keep the value of the select option to be 10 years in total. For example, if you see now the select option is showing from 2010-2019. When 2020 comes I want 2010 to be removed and 2020 to be added, and likewise, it must always remain 10 years period in the select option.
Can someone help me with this please?
Regards, Bill
<select>
<option>2019</option>
<option>2018</option>
<option>2017</option>
<option>2016</option>
<option>2015</option>
<option>2014</option>
<option>2013</option>
<option>2012</option>
<option>2011</option>
<option>2010</option>
</select>