Hello I have to load an ajax element into div. That div would earlier have another sub div by the name div1, and to remove/hide the div1, I am doing a Ext.get(‘div1’).hide(). But this is doing a visibility:hidden, rather than doing a display:none.
I wanted to know what is the method to do a display:none rather than a visibility:hidden.
You have to change the visibility mode to display.