Jörn Zaefferer schrieb:
> Klaus Hartl schrieb:
>> Still you have to keep in mind that it is a boolean attribute and the
>> DOM interface for enabling/disabling is to set a boolean value.
>>
>> And I furthermore encourage you to not rely on w3schools instead of the
>> real W3C specs.
>>
> Wel
Klaus Hartl schrieb:
> Still you have to keep in mind that it is a boolean attribute and the
> DOM interface for enabling/disabling is to set a boolean value.
>
> And I furthermore encourage you to not rely on w3schools instead of the
> real W3C specs.
>
Well, what would be then the right plac
Sean O schrieb:
>
> Klaus Hartl wrote:
>> Sean O schrieb:
>>> Eriksen,
>>>
>>> Try:
>>> $("textarea.news01").attr("disabled", "disabled");
>>>
>>> If you need to re-enable it later:
>>> $("textarea.news01").removeAttr("disabled");
>> This does not work as expected, see my test page here (with ch
Klaus Hartl wrote:
>
> Sean O schrieb:
>> Eriksen,
>>
>> Try:
>> $("textarea.news01").attr("disabled", "disabled");
>>
>> If you need to re-enable it later:
>> $("textarea.news01").removeAttr("disabled");
>
> This does not work as expected, see my test page here (with checkboxes):
> http://st
Sean O schrieb:
> Eriksen,
>
> Try:
> $("textarea.news01").attr("disabled", "disabled");
>
> If you need to re-enable it later:
> $("textarea.news01").removeAttr("disabled");
This does not work as expected, see my test page here (with checkboxes):
http://stilbuero.de/demo/jquery/checkbox.html
I
Glen Lipka schrieb:
> Try: $("textarea.news01").attr("disabled", "true");
That should work with jQuery 1.02 and you should pass a boolean, not a
string:
$("textarea.news01").attr("disabled", true);
Otherwise you can try $("textarea.news01")[0].disabled = true;
But that throws an error if ther
Eriksen,
Try:
$("textarea.news01").attr("disabled", "disabled");
If you need to re-enable it later:
$("textarea.news01").removeAttr("disabled");
___
SEAN O
Eriksen Costa wrote:
>
> Hello people,
>
> I was searching for a way to disable form in jQuery. I searched the API
> and
> dont f
Try: $("textarea.news01").attr("disabled", "true");GlenOn 10/10/06, Eriksen Costa <
[EMAIL PROTECTED]> wrote:Hello people,I was searching for a way to disable form in jQuery. I searched the API and dont found anything about the disabled attribute. How can I disable form fields in jQuery?
I tried:$(
Hello people,I was searching for a way to disable form in jQuery. I searched the API and dont found anything about the disabled attribute. How can I disable form fields in jQuery?I tried:$("textarea.news01
").id().disabled = true;-> return the ID -> html attributeSo, how can I manage t