I\'ve got a problem with a javascript Filereader which returns the error Uncaught TypeError: Failed to execute \'readAsDataURL\' on \'FileReader\': parameter 1 is not of type \'
You have to trigger change event on input field. then you will receive file.
$('#upload-button').click(function(){ $('#my-custom-design-upload').trigger('change'); return false; });