I have input image for profile how can submit or store the image when I just add new or change image?
I’m using this but not working!
$('input[type="file"]').on('change', function() { $('#setting-form').submit(); });
I have input image for profile how can submit or store the image when I just add new or change image?
I’m using this but not working!
$('input[type="file"]').on('change', function() { $('#setting-form').submit(); });