Side navigation
#10783 closed bug (invalid)
Opened November 14, 2011 02:24PM UTC
Closed November 14, 2011 02:40PM UTC
select
Reported by: | denis.rudov@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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!
Attachments (0)
Change History (1)
Changed November 14, 2011 02:40PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
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.