+ 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 Resposta
+ 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