I would also like to know what the 2 is for. I didn't know
getAttribute() could take a second param.

--
Brandon Aaron

On 10/9/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was testing and found some very strange behavior in IE6 and Opera 9
> but works fine on FF 1.0.5. It looks like the problem is pointing to:
>
> line: 704
> return elem.getAttribute( name, 2 );
>
> in this block of code:
>
> ...
>          } else if ( elem.getAttribute != undefined ) {
> alert(name + " = " + value);
>              if ( value != undefined ) elem.setAttribute( name, value );
>              return elem.getAttribute( name, 2 );
>          } else {
> ...
>
>
>
> Is this correct?
> What does the 2nd argument do?
>
> -Steve
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to