Good all the time of day.
There is a page, a form and several buttons are stuck on it. The buttons look like this:
<a class="ttf02" name="p31k01" onClick="document.form.z13.value = '01'">01</a> <a class="ttf02" name="p31k02" onClick="document.form.z13.value = '02'">02</a> ... <a class="ttf02" name="p31k50" onClick="document.form.z13.value = '50'">50</a>
Actually, you can guess that when you click on input, the name = "z13" value is replaced with the name of the link. Is it possible in some way, when pressed once to enter data into the input, 2 times to delete, while having several values? Sort of:
// ΠΆΠΌΠ΅ΠΌ ΡΡΡΠ»ΠΊΡ 03, 02, 15 <input name="z13" value"03 02 15 "> // Π½Π°ΠΆΠΈΠΌΠ°Π΅ΠΌ Π΅ΡΠ΅ ΡΠ°Π· ΡΡΡΠ»ΠΊΡ 02 <input name="z13" value"03 15 "> // Π½Π°ΠΆΠΈΠΌΠ°Π΅ΠΌ ΡΡΡΠ»ΠΊΡ 05, 07, 15 <input name="z13" value"03 05 07 ">
I saw something similar on JS and JQ, so I wondered if I could do without them. Even as an option, I consider the "msie knows sense in perversion" option: next to each link is the invisible input name = "a01, a02 ... a50", in which the value appears or disappears, and in the input name = "z13" only those which are not "" (empty).