页面加载后出现进度条
我试图通过 jQuery 显示文件上传的进度。文件上传工作正常。但文件上传后会出现进度条。
即进度条显示为 100%。但是当我“警报”时,我可以看到进度条。
知道为什么下面的示例没有显示进度条吗?
<body>
<div id="progressbar"></div>
<div id="status"></div>
</body>
<script>
$("#progressbar").progressbar({ value: 0 });
updateStatus();
</script>
</html>
I am trying to show the progress of file upload thru jQuery. File upload works fine. But progress bar appears after the file is uploaded.
That is progress bar shown in 100%. But when I 'alert' I can see the progress bar.
Any idea why progress bar is not shown with below sample ?
<body>
<div id="progressbar"></div>
<div id="status"></div>
</body>
<script>
$("#progressbar").progressbar({ value: 0 });
updateStatus();
</script>
</html>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论