Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged code
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« 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
828
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
873
posted 14 years ago by mattkenefick
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
654
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
640
posted 15 years ago by jlvallelonga
« Prev 1 Next »