Modify ↓
Ticket #5197 (closed bug: duplicate)
Cannot pass data to event function with live() using function (){}()
| Reported by: | brianfreud | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | event | Version: | 1.3.2 |
| Keywords: | Cc: | brianfreud | |
| Blocking: | Blocked by: |
Description
$('body').live('click', function (testVar) { alert(testVar); }("bar"));
Throws an error around line 2774 of 1.3.2,
| proxy.guid | this.guid++; |
that 'fn is undefined'.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Duplicate of #4612.