Bug Tracker

Modify

Ticket #5843 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.