Hi,
I've written a function in javascript to obtain content using AJAX.
While AJAX is loading, I want to show a div which says "please wait
while loading. This is a part of the function:
z.style.display = "none";
y.style.display = "block";
ajax = new AjaxHandler;
nt = ajax.send("ztbl_prestationlist.asp","");
y.style.display = "none";
z.style.display = "block";
z is the container div for the ajax content, and y is a "please wait
while loading"-div.
The function is triggered with <body onload=""but also in the page
later on... When I open the page, it works perfectly, but when I
trigger the function to load other content, the div "y" does not
show...
What am I doing wrong ?
kind regards,
Mathew