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.


Reply via email to