Bug Tracker

Ticket #10783 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago


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


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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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.