1
I have some input of the text type followed by buttons:
<input type="text" />
<button>inserir</button>
<input type="text" />
<button>inserir</button>
<input type="text" />
<button>inserir</button>
<input type="text" />
<button>inserir</button>
I need, by pressing the button, to take the value of input above it.
How to do?