New course! Every coder should learn Generative AI!
Try a free lesson+ 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.
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.