title: Display numbered list in TextArea
body: <p>I have a multiple select and a textarea. All the selected values from multiple select are displayed in the textarea. I am using below code to do this</p>
  
  <pre><code>$(document).ready(function () {
      $("#select").change(function () {
        var sel = $("#select").val();
           $("#selected").html(sel.join('\n'));
      });
  });
  </code></pre>
  
  <p>select is id of multiple select and selected is the textarea id. I want to display serial numbers also, i.e., displaying selected values in textarea in numbered list. How can I do this?</p>