平成30/ 2018-12-19 17:44
html disabled 解除

<form method="post" name="test_fm" action="ts.php" onsubmit="document.getElementById('ts').disabled=false;return true;">
<!-- もしくは -->
<form method="post" name="test_fm" action="ts.php" onsubmit="document.test_fm.ts.disabled=false;return true;">

<input type="text" name="ts" id="ts" value="a" disabled="disabled" />
<input type="submit" value="test" />
</form>