|
-
Sep 23rd, 2004, 04:11 PM
#1
Thread Starter
Frenzied Member
Very Easy Html
I just need a code which will make a text box visable but blocked so a person can not edit info in it!!
dpoes anyone know what this code will be?
-
Sep 23rd, 2004, 04:37 PM
#2
Frenzied Member
add this as an attribute:
Code:
dissabled="dissabled"
Have I helped you? Please Rate my posts. 
-
Sep 23rd, 2004, 04:48 PM
#3
Thread Starter
Frenzied Member
Originally posted by Acidic
add this as an attribute:
Code:
dissabled="dissabled"
how do i do that??
Code:
<input type="text" name="title" value="Test" size="94" style="border-style: solid; border-width: 1px" dissabled="dissabled">
???
-
Sep 23rd, 2004, 06:58 PM
#4
Frenzied Member
well. I had a typo, it should have been:
disabled="disabled"
otherwise, yes.
Have I helped you? Please Rate my posts. 
-
Sep 24th, 2004, 12:01 PM
#5
Fanatic Member
hmm
or you could use the read only attribute
html:
Code:
<textarea readonly=readonly>you cannot edit me</textarea>
-
Sep 24th, 2004, 12:39 PM
#6
Frenzied Member
Well it depends, the readonly attribute allows the user to focus the textbox (also with tab), which might confuse some users. So if you're disabling a certain textbox until another one is filled out for example, I think it's better to use disabled (so the user won't be confused).
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|