Jump to content

how to disable a text field


pouncer

Recommended Posts

To just make it as readonly..

<input type="text" name="name" value="this is readonly" readonly>
So that no one can't write in to that text box.

If you want to  disbale that text box , you should use JavaScript.

ocument.formname.textfieldname.disable.true; It will disable the text field.


Regards
Joshi.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.