Modify ↓
Ticket #5843 (closed bug: invalid)
issue with callback function in $().load
| Reported by: | rack72 | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4.1 |
| Component: | effects | Version: | 1.4 |
| Keywords: | load,click,fx | Cc: | |
| Blocking: | Blocked by: |
Description
code below works perfectly well on 1.3.2. with 1.4 , no "hello" alert
jQuery.fn.editquest = function(event) {
currentID = $(this).attr("id"); $(this).load("editquest.php?q="+currentID,function(event){
code cut $(".bouton").click(function(){
alert("hello");
});end of click event.stopPropagation(); });end of load }end of function
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.

The code snippet isn't enough to reproduce the problem.