Get error message “G is null” or “a is null” on jQuery

<script src=""></script>
    var obj = null;
    // ...maybe there are long lines...
    $.each(obj, function(){

Will get an error message “a is null”. When using jquery.min.js, it might be hard to recognize what kind of error it is. On version 1.3.2 the message says “G is null”.

You can’t pass null to the first parameter of $.each.

This entry was posted in Tweak and tagged , . Bookmark the permalink. Both comments and trackbacks are currently closed.