In my sencha mobile web app I have dynamically created elements/containers in my view.

Each has a uniquie id but all same the same css class.

I am trying to find a way to remove them using the css class. The reason I need to use the css class and not the id is that the number created cannot be determined at runtime.

I have tried `Ext.select('.myContainer').remove();` but that give error "has no method 'remove' "

I also tried  

`var main = Ext.getCmp('mainpage');  

main.remove(main.down('.siteContainer'));` 

but that did nothing at all.

I'm still new to Sencha. Any advice would be very much appreciated.

I was hoping for something similar to jquery's `$('.classname').remove()` which will work on multiple elements at the same time.