1
People I would like to know if there is any way to identify inputs within a div, without using name, id or class.
Example:
<div>
<input type='text'>
<input type='text'>
<input type='text>
<button onclick='enviar(enviar-o-texto-do-primeiro-input, enviar-o-texto-do-segundo-input , enviar-o-texto-do-terceiro-input);>enviar</button>
</div>
I wish I could send input text without using id, class, name, because I’m creating the div automatically and if I put an id for each one, all the other div will have the same id in the input.
Thank you very much, I managed to do it the way you said. there is here some corner to put the question as solved or mark your as best answer?
– lertaniss
You have to the left, below the voting arrows.
– Sam