Im just wondering if there is a way in EXT JS to do it in BG as its done e.g. with DOJO lightbox.
My prob is that changing the src of an image doesnt work if the url is the same but content changed. I need to reload the content in the BG somehow and THEN replace the div.
I hope u understand the problem IE and FFox make me do ugly stuff to reload the image by changing the src attribute
Lets imagine u have a user profile image located at: images/deliver?uid=auser
This user (auser) uploads a new profile image. While he is on his own profile form i want to update the image that he has just uploaded without reloading the whole page.
So with fileupload i do register the event, so that once the upload is finished i change the src attribute to:
images/deliver?uid=auser
BUT! hmm its the same Oo so no browser in the world is reloading jack ****..
Then.. I add a Math.random() as token like:
images/deliver?uid=auser&token=0.437563214
That helps for firefox but as IE gets the content type of an image its completely ignoring the parameters (c'mon which image is accepting parameters Oo) and ignores also all the header attributes as private, generated and so on...
So i need a reload a REAL reload of the image although its the same URL.