title: button image as form input submit button?
body: <pre><code>&lt;form method="post" action="confirm_login_credentials.php"&gt;
      &lt;table&gt;
          &lt;tr&gt;
              &lt;td&gt;User ID:&lt;/td&gt;
              &lt;td&gt;&lt;input type="text" id="uid"&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Password:&lt;/td&gt;
              &lt;td&gt;&lt;input type="text" id="pass"&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan="2" align="right"&gt;
                  &lt;a href="#"&gt;&lt;img src="images/login.jpg"&gt;&lt;/a&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I am using an image in place of a submit button. How can I submit the login details when the user clicks on the login image as a submit button does?</p>