title: How get the Value of DropDown in TypeScript
body: <p>I have a drop down list in my MVC view as :</p>
  
  <pre><code> &lt;select id="organization" class="create-user-select-half"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>I try to get the value of dropdown in Type Script like this:</p>
  
  <pre><code> var e = (&lt;HTMLInputElement&gt;document.getElementById("organization")).value;
  </code></pre>
  
  <p>but it return empty, this is how I get the textbox value and it is working. Also I tired this code but options and selectedIndex are undefined. </p>
  
  <pre><code> var value = e.options[e.selectedIndex].value;
   var text = e.options[e.selectedIndex].text;
  </code></pre>