Post by vingoyuan » Sun Aug 25, 2024 9:57 pm

this is for max size 20 M?

Code: Select all

          for (i = 0; i < this.files.length; i++) {
			
			alert('file size ' + this.files[0].size);
              if ((this.files[0].size / 1024) > 20971520) {
                  $(this).val('');

                  alert('Warning: The uploaded file exceeds the 20mb max file size!');
              }
          }

Newbie

Posts

Joined
Sat Mar 31, 2018 5:01 pm

Post by vingoyuan » Sun Aug 25, 2024 10:16 pm

i think , this is for 20GB

Newbie

Posts

Joined
Sat Mar 31, 2018 5:01 pm
Who is online

Users browsing this forum: No registered users and 0 guests