FAQ |
Kalender |
![]() |
#1 | ||
|
|||
Har WN som tidsfördriv
|
Hej,
Under Internet Explorer 7 så blir en textarea som man sätter som disabled, Kod:
<textarea rows=30 cols=45 name=message disabled> |
||
![]() |
![]() |
![]() |
#2 | |||
|
||||
Medlem
|
Vad har du för DOCTYPE? Är du i strict standards mode måste du (egentligen) ha ett värde till varje attribut. I detta fallet disabled="disabled".
EDIT: Hm, läste lite för snabbt... detta har nog inget med saken att göra. |
|||
![]() |
![]() |
![]() |
#3 | |||
|
||||
Mycket flitig postare
|
Kan inte säga att jag lagt märke till det här men om det är som du säger är det nog tyvärr en s.k. feature.
Annars finns ju attributet readonly men det funkar inte riktigt likadant. |
|||
![]() |
![]() |
![]() |
#4 | ||
|
|||
Bara ett inlägg till!
|
Använd
Kod:
disabled="disabled" |
||
![]() |
![]() |
![]() |
#5 | |||
|
||||
Mycket flitig postare
|
Citat:
Man får helt enkelt finna sig i att det funkar olika i olika webbläsare. |
|||
![]() |
![]() |
![]() |
#6 | ||
|
|||
Har WN som tidsfördriv
|
Citat:
|
||
![]() |
![]() |
![]() |
#7 | ||
|
|||
Har WN som tidsfördriv
|
Citat:
The boolean READONLY attribute, new in HTML 4.0, prevents the user from editing the content of the TEXTAREA. Read-only elements are still submitted with the form. The DISABLED attribute, also new in HTML 4.0, disables the TEXTAREA. Disabled elements are read-only elements with the added restrictions that the values are not submitted with the form, the elements cannot receive focus, and the elements are skipped when navigating the document by tabbing. Men det fungeradfe perfekt, det gick utmärkt att scrolla. Jag ska inte posta innehållet, även om det inte hade haft någon betydelse i mitt fall. Visste inte att det fanns två olika varanter, kan vara bra o veta ![]() |
||
![]() |
![]() |
Svara |
|
|