Hi,
I'm using a proprietary on line survey system (on an IIS platform), where pages of questions are generated sequentially based on previous responses.
I have a function which pre-loads some images into cache to be used on later survey pages.
My problem is: I have a "Next page" button which submits some data and requests the next page. When the button is clicked I want the pre-load function to stop (immediately -not when the current image has finished loading), so that the browser will show the next page as soon as possible.
Is there a way to abort this pre-load function, &/or stop the current request to the server (ie. current image download)?
Any ideas would be greatly appreciated.
Thanks,
David Lord [sig][/sig]
I'm using a proprietary on line survey system (on an IIS platform), where pages of questions are generated sequentially based on previous responses.
I have a function which pre-loads some images into cache to be used on later survey pages.
My problem is: I have a "Next page" button which submits some data and requests the next page. When the button is clicked I want the pre-load function to stop (immediately -not when the current image has finished loading), so that the browser will show the next page as soon as possible.
Is there a way to abort this pre-load function, &/or stop the current request to the server (ie. current image download)?
Any ideas would be greatly appreciated.
Thanks,
David Lord [sig][/sig]