This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.UploadFileCountChange Event

Supported in: ActiveX , Java

Raised when the user adds/removes any files to/from the upload list (or checks/unchecks them).

Syntax

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
function ImageUploaderID_UploadFileCountChange() {
	//...your code...
}
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...params...
//...other event listeners...
iu.addEventListener("UploadFileCountChange", "ImageUploaderID_UploadFileCountChange");
//...other event listeners...
iu.writeHtml();
</script>

Remarks

To determine how many files are currently selected for the upload, use the UploadFileCount property. This event is useful if you implement custom buttons in HTML code , and you need to disable the Send button when no files are selected.

See Also

Manual

Reference