Skip to main content

Bug Tracker

Side navigation

#7031 closed bug (invalid)

Opened September 14, 2010 08:30AM UTC

Closed September 14, 2010 12:24PM UTC

b in jQuery source is undefined

Reported by: odessa-gun Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: Cc: odessa-gun@ya.ru
Blocked by: Blocking:
Description

var arr = $('#prototypeForm').toArray();

$.each(arr)(function(key, item) {

alert(key + '=' + item);

})

Attachments (1)
  • files.rar (22.1 KB) - added by odessa-gun September 14, 2010 08:30AM UTC.
Change History (1)

Changed September 14, 2010 12:24PM UTC by john comment:1

resolution: → invalid
status: newclosed

What you posted is syntactically invalid - why not try:

    $('#prototypeForm').each(function(key, item) {
        alert(key + '=' + item);
    })