title: Show alert when form submitted
body: <p>İ have a form. When user click submit button, i want to show alert and submit the form.</p>
  
  <p>Here is my code sample.</p>
  
  <pre><code>&lt;form action="DoMakeApplication" Method="post"&gt;                             
              &lt;td&gt;
              &lt;button class="btn type7 color1" type="submit" id="makeApplication" onclick="makeApp();return false"  &gt;Başvur&lt;/button&gt;
              &lt;/td&gt;
              &lt;input type="hidden" th:value="${jobAdvert.company.companyName}" name="companyName"  &gt;&lt;/input&gt;
              &lt;input type="hidden" th:value="${jobAdvert.company.id}" name="companyId"  &gt;&lt;/input&gt;
              &lt;input type="hidden" th:value="${jobAdvert.id}" name="advertId" &gt;&lt;/input&gt;                               
  &lt;/form&gt; 
  </code></pre>