title: Trying to fill text box with only class name
body: <pre><code>&lt;input class="input" maxlength="200"&gt;
  </code></pre>
  
  <p>This is the code in HTML and it makes a text box. I'm trying to enter things into that text box (with webBrowser), and I can get that element by the tag name, I just don't know how to enter text, because it has no attribute like "value" or "text" or anything... That's all there is. It's not my server either, so I can't change anything.</p>
  
  <p>Full code:</p>
  
  <pre><code>&lt;div&gt;&lt;label&gt;Enter input: &lt;input class="input"
  maxlength="200"&gt;&lt;/label&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Deleting the</p>
  
  <pre><code>&lt;input class="input" maxlength="200"&gt;
  </code></pre>
  
  <p>deletes the text box from the page...<br>
  How can I enter text into that box?</p>
  
  <p>My code:</p>
  
  <pre><code>foreach(HtmlElement z in webBrowser.Document.GetElementsByTagName("input")){
       try{
       z.SetAttribute("value", "My text"); //Can't set attribute because it has none
       } catch(Exception zz){};
  }
  </code></pre>