samedi 25 octobre 2014

Remove an iframe and screen get repainted

Hy,

I am adding an iframe to my body in the next way. Ext.getBody().createChild({

//configuration to create an iframe hidden

})


I am doing this because I want to download a file and it works but after I want to remove this iframe from the dom and I am doing the next way.


From the Ext.dom.Element object I am calling destroy but the screen gets repainted and I dont know why. Instead if I get the HTML Element this iframe represents and I remove it the screen doesnt get repainted. How to do it properly?


Thanks






Remove an iframe and screen get repainted

Aucun commentaire:

Enregistrer un commentaire