title: get Id of input field using JavaScript
body: <p>I have input in grid, which each unique ID, output as following;</p>
  
  <pre><code>&lt;a href="#" class="SearchUser_Icon Hyperlink_Text" onclick="load_getUserListByGroupID()" id="2"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>I want to know what is equivalent to $(this).attr("ID") in javaScript</p>
  
  <pre><code> function load_getUserListByGroupID()
  {
  
      var selectedGroupID = document.getElementById('input');
  
      alert(selectedGroupID);
  
  
  }
  </code></pre>