Hello All ,
I have this code
$(".insert").click(function(){
$(".insert").ajaxStop(function(){
$(".load").hide();
});
$(".insert").ajaxStart(function(){
$(".load").show();
});
$.ajax({
type: "GET",
url: "edit.php",
data: "action=add",
success: function(msg){
$(".control").append(msg);
}
});
});
as you can see this code append the HTML response of edit.php to the .control
the problem is
after appending the html .. all jquery changes wont apply in it .. because the $(document).ready() was already called before this this HTML code was born ...
can I call $(document).ready() every while I do any changes ????