55
rated 0 times
[
58]
[
3]
/ answers: 1 / hits: 25936
/ 11 Years ago, sun, march 24, 2013, 12:00:00
I have a canvas object that loads on my page dynamically from a jQuery plugin. It has no wrapper, no id or class associated to it. But I need to remove it after
$(window).resize(function)() {...}
takes place. I have tried using jQuery's
...next().remove();
technique, so that the neighboring div element can remove it from the DOM, but I am getting issues. specifically, additional elements on my page are also getting removed. Is there a healthy way to about this?
Thanks!
More From » jquery