Bug Tracker

Opened 9 years ago

Closed 9 years ago

#7031 closed bug (invalid)

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@…
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 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by odessa-gun

Attachment: files.rar added

comment:1 Changed 9 years ago by john

Resolution: invalid
Status: newclosed

What you posted is syntactically invalid - why not try:

    $('#prototypeForm').each(function(key, item) {
        alert(key + '=' + item);
    })
Note: See TracTickets for help on using tickets.