heres aplugin called JQuery logging

http://ajaxian.com/archives/jquery-logging

here is a link to JQuery console
http://code.google.com/p/jquery-console/

try this.

add a hyperlink with the class mylink

give it a click event like so

$("a.mylink").click(function() {
alert("random");
});

now remove the hyperlink with remove()

then prepend or append another hyperlink
if the hyperlink works. then the item was not removed from memory as you
need to use live() or bind() for created links right ?

or did i get something wrong...
On Wed, Jun 10, 2009 at 9:30 AM, Biznatch <bensonho....@gmail.com> wrote:

>
> I know this may be a stupid question but I am still unsure of the
> answer -
> Once you remove() a DOM element, are its event listeners still in
> memory ?
> Also, is there a way to monitor which event listeners have been added,
> on the page?
>

Reply via email to