jQuery 1.9. (inputId).prop(readonly, true) Read more about difference between prop and attr.To retrieve and change DOM properties such as the checked, selected, or disabled state of form elements, use the .prop() method." (someid).removeProp(readonly) works fine as well as these are all jQuery methods for the nativewhich sets the readonly property appropriately, and if you inspect the element in the console youll see that the readonly attribute isChanges to forceSimulation disable drag. Line graph scaling. Initially I want to keep all text boxes readOnly and want to make them editable when corrosponding checkbox is clicked. Below is code I am using and its not working, please.Change the "checked" property of the check box using jQuery and bootstrap (AdminLTE theme).