title: How can I check if an element is a drop down list element or a text input element, given its id?
body: <p>In Javascript, given the <code>id</code> of an element (in a <code>String</code> format), how can I check if the <code>id</code> of the element refers to a drop down list element, or a text input element? </p>
  
  <p>The function should return <code>true</code> if the <code>id</code> refers to a drop down list (<code>&lt;select&gt;</code>) element, or a text input element, and <code>false</code> otherwise. </p>