Bug Tracker

Opened 12 years ago

Closed 12 years ago

#10783 closed bug (invalid)


Reported by: denis.rudov@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7
Keywords: Cc:
Blocked by: Blocking:


When trying to assign .on the method to an element within the option in select, where option is created dynamically does not work. Version 1.7 jquery. $('select option').on('click',function(){

... });

Whith .live methode all right!

Change History (1)

comment:1 Changed 12 years ago by dmethvin

Resolution: invalid
Status: newclosed

That syntax will not bind delegated events. Please re-read the documentation on how to translate .live calls to .on, and ask for help on the forum if you need it.

Note: See TracTickets for help on using tickets.