html elements disable code example
Example: disabled attribute is not working in html
try to use disabled="disabled":
<input type="text" id="txtEditAlternate" class="form-control" name="alternate" disabled="disabled" />
I hope it will work for you.