Hi All,
I am trying to increment and decrement a counter according to the number of file uploaded in a form using JS Code and the E-form. But the problem is that i cannot access the delete button next to the files name to put a listener or trigger on it.
the code is as follows (for the increment only)
var Doc_Count ;
$(document).ready(function(){
Doc_Count = $("#Field12").val();
$("#Field10").change(function(e){
Doc_Count++;
$("#Field12").val(Doc_Count);
});
});
#field10 is the file upload button from the form and #field12 is the hidden field
how can i access the delete button from my code ??
please advice.
Thank you