简体   繁体   English

通过 javascript 和 php 检查上传次数

[英]checking number of uploads through javascript and php

I want to check the number of uploads by the help of javascript.This is concerning multiple file uploads.I have to display an alert message if the number of uploads made are less than 5 on submission of the page.Can anybody help.我想在 javascript 的帮助下检查上传的数量。这是关于多个文件上传的。如果在提交页面时上传的数量少于 5,我必须显示一条警报消息。有人可以帮忙吗?

Use a hidden variable and increase the value of the hidden variable.使用隐藏变量并增加隐藏变量的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM