JavaScript to jQuery

JavaScript to jQuery

How would I change the following inline code into jQuery?

  1. <select name="month" id="month" onchange="setDay();">
  2. <script type="text/javascript">
  3. var monthsArray = new Array("", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");

  4. for(var i=1; i<monthsArray.length; i++)
  5. {
  6.       document.write('<option value="' + i + '">' + monthsArray[i] + '</option>');
  7. }
  8. </script>
  9. </select>