Hello. There is a form:
.inp { margin: 15px; } <form action="?" method="post"> <div class="inp"> <input type="text" name="name" readonly /> <a href="javascript:void(0);">ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ ΠΈΠΌΡ</a> </div> <div class="inp"> <input type="text" name="familia" readonly /> <a href="javascript:void(0);">ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ ΡΠ°ΠΌΠΈΠ»ΠΈΡ</a> </div> <div class="inp"> <input type="text" name="login" readonly /> <a href="javascript:void(0);">ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ Π»ΠΎΠ³ΠΈΠ½</a> </div> </form> Question: How to do what would be when you click on the link next to the field - the field became available for entering text?
Perhaps the question is primitive, but I practically do not understand JavaScript. I would be grateful for any useful information!