0
I would like to know which script is able to rename an input by choosing a selector. My input name is THUMB, if the person marks the first option, but I would need the input name to change if I selected the second option for something like THUMB 2, how can I do that? Thank you very much
<form method="post">
<input type="text" class="restrict" name="thumb">
<input type="submit" onclick="replaceURL()" >
<select name="seletor">
<option value="op1">Opção Um</option>
<option value="op2">Opção2</option>
</select>
</form>