Hello!

I'm using mootools 1.11 for a project of a client ( he asked about
mootools 1.11... ) and I have an issue doing this

$("next").addEvents({
      "click" : function(event){
                 $$(".myli")[0].clone().injectInside("myUl");
         // continue something else
      }
  })

Later, if I try to modify the cloned li, using an event of another
element

$("modify").addEvents({
      "click" : function(event){
            $("myUl").getLast().addClass("aclass");
      }
  })

the script can't see the cloned element.

Can anyone help me on this?

Thank you!

Reply via email to