Latest news
Home » jQuery » jquery file upload-restrict number of files

jquery file upload-restrict number of files

Parameter: maxNumberOfFiles: 1

jQuery(‘#fileupload-1’).fileupload({
dataType: ‘json’,
autoUpload : true,
sequentialUploads:true,
uploadTemplateId: ”,
downloadTemplateId: ”,
crossDomain: true,
maxNumberOfFiles: 1,
});

Leave a Reply

x

Check Also

How to Check Expired Sessions using jQuery Ajax and PHP

We can achieve using the php and ajax.The following ajax call execute in every 10 ...