title: jQuery display form alert box
body: <p>Hi i'm trying to display an alert or style-able popup box that says Empty Fields when the submit button is press. The code below stopped working after I added <code>alert("Empty Fields!!");</code></p>
  
  <pre><code>var validator = $("#reg_form").validate({
      errorLabelContainer: $("#reg_form div.error"),
      meta: "validate",
      alert("Empty Fields!!");
  });
  </code></pre>