Monday, February 29, 2016

jQuery: get the file name selected from

$('input[type=file]')[0].files[0].name;

$("input[type=file]")[0].files[0].type;

$("input[type=file]")[0].files[0].size;

No comments:

Post a Comment