title: C# WebBrowser how to click a button
body: <p>I try to make a program and I need to click a button using my program
  <code>webBrowser1.Document.GetElementById("submit").InvokeMember("click");</code></p>
  
  <p>This doesn't work because this button has no id.<br>
  Here is the code of the button:</p>
  
  <pre><code>&lt;a class="buttonMtel" tabindex="6" onclick="document.forms['SMSForm'].submit()"&gt;
      &lt;span&gt;Изпрати&lt;/span&gt;
  &lt;/a&gt;
  &lt;span&gt;Изпрати&lt;/span&gt;.
  </code></pre>
  
  <p>Please help. Thank you.</p>