Using jQuery.each() to iterate through an array of objects.

Using jQuery.each() to iterate through an array of objects.

I'm trying to interate through an array of objects.  Here's my code:
  1. $('form').submit(function(){
  2.     var serializeArr = $(this).serializeArray();
  3.     jQuery.each(serializeArr, function(i, obj){
  4.         alert('Hi');
  5.     }
  6. });
However, this just fails.  It seems like its getting stuck on the serializeArray aka an array of objects.  I've gone the for loop route and it worked fine up until I started doing some ajax stuff...the variable binding behavior was all over the place and unusable.  Any suggestions would be great!