Answers for "make a field readonly in jquery"

1

jquery make readonly textbox

$("#fieldName").prop("readonly", true);
Posted by: Guest on August-21-2020
1

how to set element readonly using jquery

To make an input readonly use: $("#fieldName"). attr('readonly','readonly');
Posted by: Guest on April-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language