+ 1

Read-only vs. DisabledđŸ„ŠđŸ„Š

What's the difference between readonly attribute and disabled attribute? I can see that both the attributes have the same impact.

15th May 2020, 8:03 AM
TAVISH
TAVISH - avatar
1 Answer
+ 7
readonly means you can't type anything but you can call Javascript events/onclick event but in disabled you can't call event also.
15th May 2020, 8:07 AM
AÍąJ
AÍąJ - avatar