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 
        
        
            3568 
        
                    posted 10 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 
        
        
            1354 
        
                    posted 14 years ago by fabulant
            I should've wrote this function a LONGGG time ago.
foreach($myArray, function($k, $v){
   console.log($k + " :: " + $v);
});
        
        
        
            3 
        
        
            1578 
        
                    posted 15 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 
        
        
            1015 
        
                    posted 16 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 
        
        
            974 
        
                    posted 16 years ago by jlvallelonga
             « Prev 1 Next »