You can use both disabled or readonly attributes for input. Using the disable attribute will omit this value in the submit form, so if you want these values ββin the submit event to make them read-only, not disconnected.
<input type="text" readonly>
or
<input type="text" disabled>
sjsupersumit Apr 26 '15 at 11:39 on 2015-04-26 11:39
source share