title: Input submit onclick and onserverclick not working
body: <p>I'm working on a simple login screen with the below code:</p>
  
  <pre><code>&lt;form id="login"&gt;
  &lt;div class="formHeader"&gt;
    &lt;h1&gt;Login&lt;/h1&gt;
  &lt;/div&gt;
  &lt;div class="formDiv"&gt;
    &lt;input type="text" placeholder="Email" name="txtEmail"/&gt;
    &lt;div class="inputImage fa fa-user"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="formDiv"&gt;
    &lt;input type="password" placeholder="Password" name="txtPassword"/&gt;
    &lt;div class="inputImage fa fa-lock"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="formDiv"&gt;
    &lt;label id="remember"&gt;
      &lt;input type="checkbox" name="cbxRemberMe" value="Checked"/&gt;
      &lt;div class="checkbox"&gt;&lt;/div&gt;&lt;span&gt;Remember me&lt;/span&gt;
    &lt;/label&gt;
  &lt;/div&gt;
  &lt;div class="formDiv"&gt;
    &lt;input type="submit" value="LOGIN" onclick="btnLogin_Click" /&gt;
  &lt;/div&gt;
  &lt;div class="formFooter"&gt;&lt;a class="forgot" href="#"&gt;Forgot Password&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>and back-end code</p>
  
  <pre><code> protected void btnLogin_Click(object sender, EventArgs e) 
  {
  
  }
  </code></pre>
  
  <p>But the button does not call the backend code at all. </p>
  
  <p>Nothing happens except the URL changes from 
  "<a href="http://localhost:15726/Pages/Login.aspx" rel="nofollow noreferrer">http://localhost:15726/Pages/Login.aspx</a>" to 
  "<a href="http://localhost:15726/Pages/Login.aspx?txtEmail=&amp;txtPassword=&amp;ctl00=LOGIN" rel="nofollow noreferrer">http://localhost:15726/Pages/Login.aspx?txtEmail=&amp;txtPassword=&amp;ctl00=LOGIN</a>"</p>
  
  <p>I cannot put a Runat=Server attribute in the form as I have 2 forms on this page (login and register)</p>
  
  <p>any help is appreciated.</p>
  
  <p>What I have tried:</p>
  
  <ol>
  <li><p>Playing around with Runat=Server, onclick() and OnServerClick() (swapping around and changing them up)</p></li>
  <li><p>Making input type=submit / input type=button</p></li>
  </ol>
  
  <p>none of these work.</p>