I don't use mootools, either. But reading their documentation, I indeed see the method empty( ) noted:
http://mootools.net/docs/core/Elemen...#Element:empty
But I do *NOT* see any method named remove( ).
Perhaps you meant destroy( )?
http://mootools.net/docs/core/Elemen...lement:destroy
In any case, perhaps reading that documentation would help?
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
|