nested list for months and date

nested list for months and date

hey guys

new to jquery.
trying to create a nested unordered list item where if you click the 2014 list item, it will display/hide the months
and the months will have links to different sections within the article

For example:
<ul>
      <li>2014</li>
            <ul>
                  <li>January</li>
                  <li>February</li>
            </ul>
      <li>2015</li>
              <ul>
                  <li>January</li>
                  <li>February</li>
            </ul>
</ul>

does anyone have any thought on this?