Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

match password and confirm password in javascript if true then submit form

<form>
  <label>Password: <input name="password" type="password" onChange="onChange()" /> </label><br />
  <label>Confirm : <input name="confirm"  type="password" onChange="onChange()" /> </label><br />
  <input type="submit" />
</form>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #match #password #confirm #password #javascript #true #submit #form
ADD COMMENT
Topic
Name
4+5 =