Skip to main content

Bug Tracker

Side navigation

#11666 closed bug (invalid)

Opened April 27, 2012 06:11PM UTC

Closed April 27, 2012 07:10PM UTC

partial views loaded via ajax in MVC3 will not bind to events listeners with .on()

Reported by: fulton.geoff@gmail.com 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.

Attachments (0)
Change History (1)

Changed April 27, 2012 07:10PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

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