Modify ↓
Ticket #11203 (closed bug: invalid)
.on method doesn't work with ajax loaded content
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
e.g: $('.page_bar').on("click","a",function(){ do something.....});
It doesn't work if the content .page bar is loaded via ajax....
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

http://api.jquery.com/on/