Profile
Achievement
jlvallelonga's Recent JavaScript Snippets
- All /
« Prev 1 Next »
I just put all the functions in here
the validateConfPass function uses the key event and the two text fields to change the background color of the confPassword field when it does not equal the pass field
0
717
posted 15 years ago by jlvallelonga
send in an event
it returns the key that you pressed if it was alphanumeric or backspace
otherwise it returns "-1"
use with getKeyCode and isAlphaNumeric
0
500
posted 15 years ago by jlvallelonga
to use this function send in an ASCII character code (use my getKeyCode function)
it will return true if the code corresponds to a printable character (not backspace code - 8, enter code - 13, or "undefined")
0
491
posted 15 years ago by jlvallelonga
this function tells you whether or not the passed value is in the passed array
1
748
posted 15 years ago by jlvallelonga
this funciton returns an XMLHttpRequest object for use in ajax pages
1
704
posted 15 years ago by jlvallelonga