Greetings. The task is as follows: There are several N-th number of identical blocks of approximately the following structure:
<div class="wrap"> <div class="wrap-c"> <p class="name">NAME</p> </div> <form> <input type="text"> <input type="tel"> <input type="submit"> </form></div> I repeat, the structure is approximate. There are several blocks. It is necessary that the text from the P tag automatically fills the text box of the form in its block. This field will not be visible to a person at all (hidden) - he entered, and the js / jquery script immediately filled the field with an automatic machine. The field in the form may also be a different number, so perhaps it is better to hang on a class or id any.