And now it is fixed in the latest SVN. http://dev.jquery.com/changeset/1897

--
Brandon Aaron

On 5/13/07, PragueExpat <[EMAIL PROTECTED]> wrote:


OK, Thanks.



Brandon Aaron wrote:
>
>
> I went ahead and created a new ticket for this:
> http://dev.jquery.com/ticket/1182
>
> --
> Brandon Aaron
>
> On 5/13/07, PragueExpat <[EMAIL PROTECTED]> wrote:
>>
>>
>> $(function(){
>>          $("#test").attr("maxlength",10);
>> });
>>
>> Doesn't work on a text input field in IE.
>>
>> If I try:
>>
>> $(function(){
>>    alert($("#test").attr("maxlength"));
>>    $("#test").attr("maxlength",10);
>>    alert($("#test").attr("maxlength"));
>> });
>>
>> In IE my alerts are:
>>
>> "2147483647"
>> "2147483647"
>>
>> In Firefox and Opera:
>>
>> "undefined"
>> "10"
>>
>> Known problem?
>>
>> JQuery is 1.1.2 and IE7
>> --
>> View this message in context:
>> http://www.nabble.com/set-attr-in-IE-tf3735834s15494.html#a10457011
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>
>

--
View this message in context: 
http://www.nabble.com/set-attr-in-IE-tf3735834s15494.html#a10457167
Sent from the JQuery mailing list archive at Nabble.com.


Reply via email to