Our Services
1048576 || f.size > 1048576){
if(allowedExt.indexOf(ext) < 0){
alert('Invalid file format...');
$(this).val('');
}
if(f.fileSize > 1048576 || f.size > 1048576){
alert('File size too large...');
$(this).val('');
}
});
});
function isNumber(evt) {
evt = (evt) ? evt : window.event;
var charCode = (evt.which) ? evt.which : evt.keyCode;
if (charCode > 31 && (charCode < 48 || charCode > 57)) {
return false;
}
return true;
}