Tell me how to choose a selector with an attribute that contains a variable? For example, there is an input field with a name attribute. The value of the field name value: "inspDate" + singlInspTime[j].id
. His view on the html-page will be: name="inspDate1283"
.
It is necessary to create a selector of the form: $('input[name="и_что_здесь_будет_с_учетом_переменной_которую_нельзя_взять_в_кавычки???"]').val();