Monday, April 9, 2012

How to create an uneditable textfield in HTML

Normally we create a simple textfield by following code

Code:


But usually these few line coding are able to let other edit content inside the textfield.

Example:


So what we gonna do is make a small changes in the code and make it become uneditable.

Code:


add in "readonly" in HTML, and make it uneditable by others.

=)

Let's try it~






No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...