how to find a dynamic id in name attribute JQuery
I have many inputs where to dynamically change the value of the name attribute, for example: Select <select class="form__input form__select select optional" id="js-customer-field" name="customer[customer_food_attributes][16321232322354][customer_id]"><option value="">Select</option> ... <select class="form__input form__select select optional" id="js-customer-field" name="customer[customer_food_attributes][023912321331123][customer_id]"><option value="">Select</option> I would like to take the…