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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to