This code works, this code loads on a div different images based on a param (I have several buttons each one call sendToK(param) with different param values) outputContentPage basically return an image, depending on param passed My problem is:it takes a second time, maybe two seconds, from POINT1 and POINT2 (you find them on javascript code). In the meanwhile the div is empty, I mean it does not contain previous image and not yet the next.Why?My goal is to have no void transiction betweenan image and the other. Thanks!
loading images with xmlhttp
in JavaScript
Posted
This code works, this code loads on a div different images based on a param (I have several buttons each one call sendToK(param) with different param values) outputContentPage basically return an image, depending on param passed My problem is:it takes a second time, maybe two seconds, from POINT1 and POINT2 (you find them on javascript code). In the meanwhile the div is empty, I mean it does not contain previous image and not yet the next.Why?My goal is to have no void transiction betweenan image and the other. Thanks!
and the javascript