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/