jlvallelonga


Member since 09/22/2008

Name: Justin Vallelonga

Website: http://www.justpushbuttons.com

College student [email protected]

12 snippets

5 profile views

View their favorites

Profile

All time reputation: 12

Achievement

first submission:submitting first snipplet

jlvallelonga's Recent Snippets



« Prev 1 Next »
  1. FAV

    get today date string

    gets you a date string for today in YearMonthDay formant like this 20100917
    ASP 1 views posted 9 years ago jlvallelonga
  2. FAV

    Are Arrays Equal

    This function checks to see if two arrays are equal
    ASP saved by 4 people 3 views posted 10 years ago jlvallelonga
  3. FAV

    remove value from array

    This function returns the array with all instances of the specified value removed
    ASP saved by 1 person 1 views posted 10 years ago jlvallelonga
  4. FAV

    formatWebAddress

    this function formats a web address for use in a link.<br> echo formatWebAddress("google.com");<br> http://www.google.com/
    PHP saved by 16 people 0 views posted 10 years ago jlvallelonga
  5. FAV

    insertString PHP

    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
    PHP 2 views posted 10 years ago jlvallelonga
  6. FAV

    confirm password background change

    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
    JavaScript 2 views posted 10 years ago jlvallelonga
  7. FAV

    getCharacterPressed

    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
    JavaScript 2 views posted 10 years ago jlvallelonga
  8. FAV

    pressedPrintableChar

    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")
    JavaScript 0 views posted 10 years ago jlvallelonga
  9. FAV

    is value in array

    this function tells you whether or not the passed value is in the passed array
    JavaScript saved by 9 people 6 views posted 11 years ago jlvallelonga
  10. FAV

    get http object

    this funciton returns an XMLHttpRequest object for use in ajax pages
    JavaScript saved by 9 people 5 views posted 11 years ago jlvallelonga
  11. FAV

    Delete Last Comma

    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, "
    ASP saved by 1 person 2 views posted 11 years ago jlvallelonga
  12. FAV

    Format Web Address

    this function formats a web address for use in a link
    ASP saved by 2 people 0 views posted 11 years ago jlvallelonga
« Prev 1 Next »