I have read a bit on this, but I can’t seem to find anything solid about how different browsers treat things.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A
readonlyelement is just not editable, but gets sent when the accordingformsubmits. Adisabledelement isn’t editable and isn’t sent on submit. Another difference is thatreadonlyelements can be focused (and getting focused when “tabbing” through a form) whiledisabledelements can’t.Read more about this in this great article or the definition by w3c. To quote the important part: