Skip to content

function_each

Wesley de Groot edited this page Oct 22, 2015 · 31 revisions
            	     _    _____ 
        	        | |  / ____|
    	            | |  | (___ 
	            _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/

Function each

_('.wrapper').each(myArr,callback_int)

Walk trough array and peform callback

  • @param object object
  • @return true
  • @example _().each(['a','b','c'], function(i,v){alert('count '+i+', value: '+v);});
  • @example _().each({a:'b',c:'d'}, function(i,v){alert('key '+i+', value: '+v);});

    Back to function list

Clone this wiki locally