nbcit
asked on
On Image Ready
I have an ajax event that needs to fire once a image is completely loaded.
The image is a php file that sets a session variable and renders the image.
I need to wait until the session variable is set before firing the ajax event.
Is there a way to test that an image has completely loaded?
The image is a php file that sets a session variable and renders the image.
I need to wait until the session variable is set before firing the ajax event.
Is there a way to test that an image has completely loaded?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You could also put the image in an iFrame and use the onLoad event (see https://www.experts-exchange.com/questions/21219260/test-iframe-load-status.html)