title: How to add a selected attr to the underscore template
body: <p>I'm using the underscore template to render a dropdown options. I'm looking to display the text of selected dropdown option. Here is the template I'm using:</p>
  
  <pre><code>&lt;select id = "selectedRegion"&gt;&lt;% _.each(data.region,function(field){ %&gt;&lt;option value ="&lt;%= field.id%&gt;" &gt;&lt;%= field.name %&gt;&lt;/option&gt;'
         +' &lt;% }) %&gt;&lt;/select&gt;&lt;% }%&gt;
  </code></pre>
  
  <p>I'm wondering how in underscore can I mention the 'selected' attr. as in html like:</p>
  
  <pre><code>&lt;option value="N" selected&gt;New york&lt;/option&gt;
  </code></pre>
  
  <p>I tried this way, but no luck</p>
  
  <pre><code>&lt;select id = "selectedRegion"&gt;&lt;% _.each(data.region,function(field){ %&gt;&lt;option value ="&lt;%= field.id%&gt;" selected= &lt;%= field.selected %&gt; &gt;&lt;%= field.name %&gt;&lt;/option&gt;'
         +' &lt;% }) %&gt;&lt;/select&gt;&lt;% }%&gt;
  </code></pre>
  
  <p>Here is the Js:</p>
  
  <pre><code>var regions = [];
  var values = $('#selectedRegion').children('option').each(function(i, e){
   regions.push({id:e.value, name:$(e).html(),select:$(e).is(':selected')?true:false});
  
  }); 
  </code></pre>
  
  <p>Anyone has any ideas on how this can be achived??</p>
  
  <p>Thanks!</p>