| function upload_status() { | function upload_status() { | ||||
| $.each(temp.upload, function(id, file) { | $.each(temp.upload, function(id, file) { | ||||
| console.log(id,file); | |||||
| var obj = $(".autodoc_template_progress").children(); | var obj = $(".autodoc_template_progress").children(); | ||||
| $(obj).children().html(file.name); | $(obj).children().html(file.name); | ||||
| $(obj).children().css('width', "50%"); | $(obj).children().css('width', "50%"); | ||||
| $(obj).children().css('width', "100%"); | $(obj).children().css('width', "100%"); | ||||
| } | } | ||||
| } | } | ||||
| console.log(obj); | |||||
| $('.autodoc_upload_status').append(obj); | $('.autodoc_upload_status').append(obj); | ||||
| }); | }); | ||||
| // setTimeout(upload_status, 1000); | // setTimeout(upload_status, 1000); |