subject #2: <input type="text" name="subject2" id="sub2" class="i2" size="20" disabled> <br>
<button onclick="document.getElementById('sub2').removeAttribute('disabled')"> add subject</button>
This is what i wrote, when i press the button the input field becomes white (becomes useable) for a second, and immediately returns to be grey and disabled. What did i do wrong? thank you