I\'m using an (I know, I know, ...) in my app (single-page application with ExtJS 4.2) to do file downloads because they contain lots of data and
You can use the following script. It comes from a project of mine.
$("#reportContent").html("");