I m 通过一个阵列,在每一处 lo期间,Im通过亚x指一种ur。 我也希望更新一个内部的超文本,以便显示它能够随时向用户通报正在处理该排他性的问题。 然而,在文字完稿时,只显示最新情况。
我怎么能够在我的休息时间表明这一通知?
I m also using the query ajax setting async: false . I don t want to hammer my server with processing all of the ajax requests at once, as they are encoding video files which is CPU intensive. I don t really want to lock the browser up waiting for synchronous requests to complete either.
是否有更好的办法这样做?
我的最终目标是依次执行我的组合。 每一套录像带的网址,同时向用户展示当前状况指标,同时不把浏览器锁在这一过程之中。 感谢你们的帮助!
这里的《法典》:
www.un.org/Depts/DGACM/index_spanish.htm
// process the loop of videos to be combined
var status = document.getElementById( currentStatus );
for (i=0; i< count; i++) {
// change the display
var fields = videos[i].split(":", 2);
current = i +1;
currentStatus.innerHTML = "<b>Multi-part Videos:</b> <h3 class= status >Currently Updating Bout #" + fields[1] + " (" + current + " of " + count + " videos)</h3>";
// run the combine
var dataString = videoId= + fields[0];
$.ajax({
type: "POST",
url: "combine.php",
data: dataString,
success: function(txt) {
//deselect the checkbox
document.combine.video[selected[i]].checked = false;
},
async: false
});