I want to get date day and month into separate variable and then place that variable into a `div` tag. Tell me where I need to change the code for that purpose.

```
$('.from_date').datepicker({
    dateFormat: "yy-mm-dd", 
    onSelect: function(){
      var selected = $(this).val();
      alert(selected);
    }
  });
});

```