I am using ajax to post a form that has an image upload input field. I tried getting the value as I do with other inputs, but it does not seem to work, and returns undefined:
var imageUpload = $("#image_0").val(); <input type="file" name="image_0" class="sq-form-field" /> Am I missing something here?