Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9516 closed bug (invalid)

Delegate does not support element or jquery object

Reported by: [email protected] Owned by:
Priority: low Milestone: 1.next
Component: event Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:


Everytime I pass jquery object or element to the first delegate parameter, it gives me an error

Uncaught TypeError: Object [object Object] has no method 'replace'

var $div = $('#innerDiv');

$('#outerDiv').delegate($div, 'click', function () {


Change History (2)

comment:1 Changed 12 years ago by dmethvin

Resolution: invalid
Status: newclosed

The first argument to .delegate() is a selector string.


comment:2 Changed 12 years ago by Rick Waldron

Component: unfiledevent
Priority: undecidedlow
Note: See TracTickets for help on using tickets.