Occhio a farlo in maniera standard:
codice:
<input type="text" readonly="readonly" />