how to make readonly with jquery code example
Example: how to set element readonly using jquery
To make an input readonly use: $("#fieldName"). attr('readonly','readonly');
To make an input readonly use: $("#fieldName"). attr('readonly','readonly');