I am trying to find an input with a class of blocked and remove the disabled attribute. This is what I have...
<input id="test" class="blocked" type="text" disabled="disabled" value="Some Value">
<script>
document.getElementsByClassName("blocked").removeAttribute("disabled");
</script>
This needs to be done using Javascript and not jQuery, why is it not working as expected?