Opened 11 years ago
Closed 11 years ago
#11666 closed bug (invalid)
partial views loaded via ajax in MVC3 will not bind to events listeners with .on()
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See http://stackoverflow.com/questions/2195168/jquery-events-dont-work-with-asp-net-mvc-partial-views for a full breakdown.
Basically, when binding events late, i.e., loading a partial view via ajax on MVC3, the new .on() will not work. However, .live() (the deprecated method) will attach successfully.
Note: See
TracTickets for help on using
tickets.
There is no reference to
.on
not working in that post. Please ask for help on StackOverflow or another forum.