serenix_readonly.js Plugin Examples

A JavaScript (jQuery) plugin created to fix the inconsistency of the readonly attribute in form controls like input, select, checkbox, and radio.

InputRead only
True
True
True
False

Read only Select case:

SelectRead only
Case 1: True
Case 2: False

Checkboxes:

CheckboxRead only
Checkbox 1: True
Checkbox 2: False

Read only radio group:

SelectRead only
Option A: 
Option B: 
Option C: 
True

Read only radio buttons

RadioRead only
Free radio 1: True
Free radio 2: False
InputRead only
Native read only property and not toggleable: True
Read function call case: True
Editable input: False

Toggle