x
 
<input type="text" id="myInput" disabled>
<script>
  const inputElement = document.getElementById("myInput");
  inputElement.removeAttribute("disabled");
</script>