How do I get upload file name after click the submit button. Below in the file upload field.
<input class="required-field" type="file" value="" name="cover_image">
I've tried with below but it not get the value.
var filename = $("[name='cover_image']", form).val();
Here I don't have ID fro the input filed but is it possible to get upload file name?