<input type="file" id="asd"/>
i would like to get the image in base64 once the user choosed that (before ssubmitting upload form)
So somenthing like :
$(input).on('change',function(){
var data = $(this).val().base64file(); // it is not a plugin is just an example
alert(data);
});
i red about File API and other stuffs, i would like a simple and cross-browsers solution (IE6/IE7 excluded obviously)
Any help appriciated thanks.
base64file()
- is that a plugin? – David Jul 17 at 21:05