title: How to get the Id of an element from <select> in React?
body: <p>I have a function handleSubmit(event){}. How can I get the id of a selected option?</p>
  
  <pre><code>&lt;select id="category"&gt;
     &lt;option id="1"&gt;Travel&lt;/option&gt;
     &lt;option id="2"&gt;Auto Loan&lt;/option&gt;
  &lt;/select&gt;
  
  
  </code></pre>