Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged code



« Prev 1 Next »
delete Operator don’t impact the length of Array in JavaScript
1 1110 posted 9 years ago by ursdeep
This is probably the first vertical JavaScript text ticker that sues tilted letters. Works with Internet Explorer 6x/7x/8x/9x, Firefox 3.6x, Opera 10.5x and Google Chrome 4x/5x/6x. Older Browsers show no ticker.
0 831 posted 13 years ago by fabulant
I should've wrote this function a LONGGG time ago. foreach($myArray, function($k, $v){ console.log($k + " :: " + $v); });
3 874 posted 14 years ago by mattkenefick
0 1053 posted 14 years ago by Jamie
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 655 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 641 posted 15 years ago by jlvallelonga
« Prev 1 Next »