title: Confirm 2 password fields via jQuery
body: <p>I am trying to find a small script where while typing in the two password fields and if the passwords do not match then the script will specify... I also hope to do this without having to click the Submit button.</p>
  
  <p>Here are my two fields:</p>
  
  <pre><code>&lt;input name="password" type="password" id="password-1" maxlength="30" placeholder="Password Must Be 5-30 Characters" class="text-input required password"&gt;
  &lt;input name="password" type="password" id="password-2" placeholder="Repeat Password" class="text-input required password"&gt;
  </code></pre>