Expand|Select|Wrap|Line Numbers
- xmlHttp.onreadystatechange=function()
- {
- if(xmlHttp.readyState==1)
- {
- var processing = document.createElement('img');
- processing.setAttribute('src', 'img/loading_main.gif');
- document.getElementById("empReport").appendChild(processing);
- }
- if(xmlHttp.readyState==4)
- {
- document.getElementById("empReport").innerHTML=xmlHttp.responseText;
- }
- }
I am hoping someone can give me some insight on what I am doing wrong here.
Best Regards,
Jenkins