Kirim formulir perubahan input js

<form action="{{ route('web.settings.update') }}" method="POST" enctype="multipart/form-data" id="form-image-small">
  @csrf
  <img width="14" src="/templates/megaimkon/icons/camera.svg" alt="camera">
  <input id="update-profile-photo" type="file" name="images" accept="image/*" onchange="$('#form-image-small').submit();">
</form>
Shadow