Stop user from inputing text in input field
<p>Is there a <code>css</code> or <code>html</code> only way to prevent a user from typing in an input field?</p>

<p>I want to dynamically add stuff and remove stuff etc to an input field but I don't want the user to be able to edit it and using the <code>disable</code> attribute on the <code>html</code> tag prevents me from doing what I want.</p>