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