jquery - how we make image file dynamic in javascript -
var file = $("#imgstep"+id)[0].files[0]; var filename = file.name; var filesize = file.size;
i have problem multile files name in 1 function. first time file name other time error on
var file = $("#imgstep"+id)[0].files[0];
and show cannot read property 'files' of undefined.
Comments
Post a Comment