SyntaxFix
Write A Post
Hire A Developer
Questions
To make an input readonly use:
$("#fieldName").attr('readonly','readonly');
to make it read/write use:
$("#fieldName").removeAttr('readonly');
adding the disabled attribute won't send the value with post.
disabled