code_junkie

How to skip fields using javascript?

Nov 10th, 2011
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <INPUT tabindex="3" type="submit" name="submit">
  2.  
  3. <form name="mine">
  4. <input type="text" name="one" onkeypress="if (mine.one.value == '123') mine.three.focus();" />
  5. <input type="text" name="two">
  6. <input type="text" name="three">
  7. </form>
Add Comment
Please, Sign In to add comment