How to get the ID of the input element from the jQuery object?
I have a form with checkbox and I get the jQuery object after submitting the form having the checked input elements. var $form = $(e.currentTarget); var $inputs = $form.find("input.form-check-input:checked") The inputs looks like this: inputs = { "0": {<input class="form-check-input"…