title: Submit button used out of the form
body: <p>Can I use submit button out of the form and still process the form action on clicking submit button?  Below is the code. I am new to programming. Please help me. </p>
  
  <pre><code>&lt;body&gt;
  &lt;input type="submit" name="submit" value="submit" /&gt;
  &lt;form action="" method="get" name="myform"&gt;
    &lt;table width="200" border="1" cellspacing="10"&gt;
      &lt;tr&gt;
        &lt;td&gt;Name&lt;/td&gt;
        &lt;td&gt;&lt;label for="name"&gt;&lt;/label&gt;
        &lt;input type="text" name="name" id="name" /&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;email&lt;/td&gt;
        &lt;td&gt;&lt;label for="email"&gt;&lt;/label&gt;
        &lt;input type="text" name="email" id="email" /&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;Group&lt;/td&gt;
        &lt;td&gt;&lt;input type="checkbox" name="IT" id="IT" /&gt;
          IT 
            &lt;input type="checkbox" name="ECE" id="ECE" /&gt;
          &lt;label for="ECE"&gt;&lt;/label&gt;
          ECE
          &lt;input type="checkbox" name="Mech" id="Mech" /&gt;
          &lt;label for="Mech"&gt;&lt;/label&gt;
          Mech&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;Hobbies&lt;/td&gt;
        &lt;td&gt;&lt;label for="hobbies"&gt;&lt;/label&gt;
        &lt;input type="text" name="hobbies" id="hobbies" /&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>