how to make text box readonly in jquery code example Example: jquery make readonly textbox $("#fieldName").prop("readonly", true);