not editable text field
Posted: Fri Sep 23, 2005 4:46 pm
how to make text field not editable
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<input type="text" name="field" value="blaa" disabled>Code: Select all
document.forms[0].address.disabled = true;FYI, disabled stops the value from being submittedqads wrote:you can use disabled
Code: Select all
<input type="text" name="field" value="blaa" readonly=readonly />