Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.21 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. JQuery inconsistency?
  2. foo = {a:'aa', b:'bb'}
  3.  
  4. $.each(foo, function(k,v) { ...
  5. $(foo).each(function(k,v) { ...
  6.        
  7. $.each( foo, function( key, value ) {...
  8.        
  9. $(foo).each( function( index, element ) {...