Setting time out in iframe inside Ext.Window
问题 I have an iframe inside ExtJS Ext.Window component. In the iframe , I make an ajax call to the php layer, which returns a pdf object and that gets rendered in the iframe . I need to set timeout in the js layer, say if the processing takes more than 1 second, I should abort the process. I saw about the various methods that iframe provides, but there is nothing relating to timeout. ontimeout is the closest function, but I am not clear where to set the timeout. var win = new Ext.Window({ id: