PDA

View Full Version : Listener for Window content change



extjslikeit
3 Aug 2010, 1:55 PM
Hi,

We have some old applications that we want to use with our extjs application by opening them in separate windows.

I am trying to find something that can help me know when the content in window has changed due to submit action on a form in the old application.

Any pointers are greatly appreciated.

Thanks,
extjslikeit

Animal
3 Aug 2010, 9:56 PM
I assume "opening them in separate windows." means in an iframe in a Window?

extjslikeit
4 Aug 2010, 8:41 AM
Yes, "opening...windows." meant iframe in Window, currently I am trying with extjs window/iframe.

Thanks,
extjslikeit

extjslikeit
4 Aug 2010, 2:32 PM
I was able to get some of the expected listening functionality by finding iframe and using attachEvent/addEventListener, however I am afraid this will cause problems latter, since we have been leaning towards non-modal windows for these html documents.

I wanted to know if there is a way I can get iframe for each dialog without using query.

Once again, any pointer greatly appreciated.

Thanks,
extjslikeit