title: How can I find an element without an ID in HTML for VBA code?
body: <p>The aim is to write login and password to a website through VBA code. I stucked on lines without id.</p>
  
  <p>Below is the part of HTML from a website,  after pointing out on interesting box/window, where login show up (after we writing it on our keyboard):  </p>
  
  <pre><code>&lt;input propdescname="login" width="0" class="prePopulatedCredentials" 
  type="text" size="30" maxLength="127" jQuery15206231273379102914="6" 
  autocomplete="off" spellcheck="false" autofocus="true"/&gt;
  </code></pre>
  
  <p>When I try to find a box/window to put this login from VBA level – there is a problem, because there is no ID. 
  I tried with Atribute “Name” but it failed <code>IE.Document.getElementByName("login").innerHTML = "name"</code>- occurs Run Time Error 438, Object doesn’t support this property or method.</p>
  
  <p>The same issue is with window/box password. 
  Its code line is below:  </p>
  
  <pre><code>&lt;input propdescname="passwd" width="0" class="prePopulatedCredentials" 
  type="password" size="30" maxLength="127" autocomplete="off" 
  spellcheck="false"/&gt;
  </code></pre>
  
  <p>There is no problem with button Log on, because it has an id:</p>
  
  <pre><code>&lt;input class="custombutton login_page" id="Log_On" type="submit" 
  jQuery15206231273379102914="9" value="Log On"/&gt;
  IE.Document.getElementById("Log_on").Click
  </code></pre>
  
  <p>I have IE8. I read that when I install IE11 there are more possibilities. But maybe someone can help me to find solution in IE8? </p>
  
  <p><img src="https://i.stack.imgur.com/Bz6gZ.jpg" alt="log on picture"></p>