The difference between readonly and disabled in input in javascript may be commonly used in development. Use js to dynamically change the attributes of input 2012-10-10