jlvallelonga


Member since 09/22/2008

Name: Justin Vallelonga

Website: http://www.justpushbuttons.com

College student [email protected]

12 snippets

1416 profile views

2 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

jlvallelonga's Recent Snippets



« Prev 1 Next »
gets you a date string for today in YearMonthDay formant like this 20100917
0 318 posted 11 years ago by jlvallelonga
This function checks to see if two arrays are equal
1 272 posted 11 years ago by jlvallelonga
This function returns the array with all instances of the specified value removed
1 406 posted 12 years ago by jlvallelonga
this function formats a web address for use in a link.<br> echo formatWebAddress("google.com");<br> http://www.google.com/
1 298 posted 12 years ago by jlvallelonga
use this function to insert a string into another string at a certain position.<br> echo insertString("legendary", " wait for it ... ", 5);<br> legen wait for it ... dary
0 259 posted 12 years ago by jlvallelonga
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 363 posted 12 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 268 posted 12 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 251 posted 12 years ago by jlvallelonga
this function tells you whether or not the passed value is in the passed array
1 430 posted 12 years ago by jlvallelonga
this funciton returns an XMLHttpRequest object for use in ajax pages
1 336 posted 12 years ago by jlvallelonga
This function takes a string and deletes the last comma in it. It is meant for strings with a trailing comma such as "13, 24, 15, "
1 445 posted 12 years ago by jlvallelonga
this function formats a web address for use in a link
2 283 posted 12 years ago by jlvallelonga
« Prev 1 Next »