ivanblue
asked on
JQuery Mutate Plugin on dynamically created object
Hello, I'm using Jquery Mutate Plugin http://www.jqui.net/jquery-projects/jquery-mutate-official/ for changing the size of a div and it was working perfectly, but than I needed this div to be created dinamically through append and then destroy it.
The mutate stop working now and I would like it to work with my dynamically created div as it was working with the static one.
This is the code for the static one:
Please help. Thanks.
The mutate stop working now and I would like it to work with my dynamically created div as it was working with the static one.
This is the code for the static one:
$("#user_home_left_column").mutate("height", function(obj, msg){
user_wall_vertical_line_height = $(obj).height() != 0 ? $(obj).height() : user_wall_vertical_line_height;
$("#user_activity_vertical_line").css("height", (user_wall_vertical_line_height - 155) + "px");
});
Please help. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I find my own answer.
is the variable "user_wall_vertical_line_h
Can you post a link to your page or the HTML source where you have the issue?
Thanks.
Rainer