$("#passPortPhotoUpload").change(function () { var size = ($("#passPortPhotoUpload")[0].files[0].size / 1024); size = (Math.round(size * 100) / 100) alert( size + "kb"); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)