title: populating select options dynamically javascript
body: <p>I want to have option for select list dynamically.
  I want to populate select list for year values dynamically using java script.
  It should be current year to next 10 years as drop down, any idea?</p>
  
  <pre><code>&lt;form action="something"&gt;
    some other fields
    &lt;select id="year"&gt;
    &lt;/select&gt;
  &lt;/form&gt;
  </code></pre>