1
It is possible for jquery to understand the elements of an array value coming from html? ps: I don’t know if it’s right to say that in html you have an array.
I am creating with html and jquery a input which is having the value of the name as if it were an array, adding 1 for each insertion ;
name="nome=[]", name="nome=[1]", name="nome=[2]"...
This is to make it easy for PHP to select the data.
These inputs created are mirrored in another <fieldset>.
I want to mirror the values calling the element by name I got this using the .keyup() jquery, but it works only for the first input, which in theory would be the nome[].
From the way I imagined it, I tried to create a for to call each element of the "array". By the way, the way I thought the selector is only in the nome[].
I set my mind to do it this way that maybe I’m not seeing other ways to solve it. I tried to tbm with a .click on a button, where the values of inputs of the first <fieldset> copy in the values of other inputs <fieldset>, I thought it because they both have the same name.
What would be indicated ?
Study code - Edit#1
In the part of Java Script is commented two ways, one suggested by @Matheus Cuba and a way I did picking up by #ID, but I would like to use the tag name

Let me get this straight, you have several elements
inputwithname="nome=[2]", when you update one of them want all other inputs with the same name to be updated to this value?– Matheus Cuba
Matheus, more or less! I don’t know how many inputs will have because it is dynamic, it adds up. What I have in mind is how will I have two elements with the same
nameI think I could copy the value of one into another. I will update my question with a "study codes" on the case ai vc see better :)– Bender