var ba = document.getElementById("buyAmount");
ba.readonly = true;
Somehow the readonly is not working. The user can still change the value. I can't do a "ba.disabled = true" as it will prevent the value from being sent.
Any ideas? Thanks.