title: How to get the list of all the weeks in a particular year using jquery or rails
body: <p>I have a requirement where i have to populate drop down with list of all the weeks in a particular year as shown in the image</p>
  
  <p><img src="https://i.stack.imgur.com/jjSZs.png" alt="enter image description here"></p>
  
  <p>How can i achieve the list dynamically depending on the year using jquery or Rails?</p>