radajaxloadingpanel

showing a loading image when ajax start running in background

浪子不回头ぞ 提交于 2019-12-11 19:08:34
问题 I have the following script which starts running when i click on record button . I want to show a image when i click on record button which is same as the one displayed usually when we upload images on... this is the script: <script> function st() { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject('Microsoft.XMLHTTP'); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { alert('RECORDING Start'); } } xmlhttp