I have a html snippet as follows
<select id="fiscalFlyout" data-win-control="WinJS.UI.Flyout">
<optgroup label="Fiscal Year">
<option>2013</option>
<option>2014</option>
<option>2015</option>
</optgroup>
</select>
Currently, I am adding Years through html. But I want to add them through javascript. So that in future year changes, I do not need to open my code and change it.