Bug Tracker

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: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:


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.

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: invalid
Status: newclosed

There is no reference to .on not working in that post. Please ask for help on StackOverflow or another forum.

Note: See TracTickets for help on using tickets.