Oliver -

Please make sure that you're using jQuery 1.0.1:
http://jquery.com/src/jquery-1.0.1.js

--John

On 9/17/06, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote:
>
>  Wow lots of answers thanks ;)
>  Unfortunatly this.attr('name') or this.attr('id') are breaking the code.
> (No js error but just nothing working anymore)
>
>
>  Klaus Hartl wrote:
>  Onno Timmerman schrieb:
>
>
>  Olivier Percebois-Garve schreef:
>
>
>  Hi
>
> It seems that there is cases where it is not possible to get attributes.
> How to deal with this ?
> $(this).val() // works
> $(this).name() //not working
> $(this).id() //not working
>
>  more like $(this.id);
>
>
> Unfortunatly not.
>
> If $(...).name()/$(...).id() are not working this is bug and will be
> fixed. In the meantime you can get away with this:
>
> $(...).attr('id');
> $(...).attr('name');
>
>
> -- Klaus
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>


-- 
John Resig
http://ejohn.org/
[EMAIL PROTECTED]

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

Reply via email to