A JavaScript (jQuery) plugin created to fix the inconsistency of the readonly attribute in form controls like input, select, checkbox, and radio.
| Input | Read only |
|---|---|
| True | |
| True | |
| True | |
| False |
| Select | Read only |
|---|---|
| Case 1: | True |
| Case 2: | False |
| Checkbox | Read only |
|---|---|
| Checkbox 1: | True |
| Checkbox 2: | False |
| Select | Read only |
|---|---|
| Option A:
Option B: Option C: | True |
| Radio | Read only |
|---|---|
| Free radio 1: | True |
| Free radio 2: | False |
| Input | Read only |
|---|---|
| Native read only property and not toggleable: | True |
| Read function call case: | True |
| Editable input: | False |