Hello,
i need a function witch removes an selector and his elements inside.
It works well with id like this:
$('mutsu').remove();
but it wont work with class name.
I tried:
$$('.className').remove();
and
document.getElementByClassName('className').remove();
It return always:
$('.className') has no properties
Do anyone know how i select a selector with a class?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---