[jQuery] a syntax issue

[jQuery] a syntax issue

Hi,
I'm making the hreflang attribute visible ; css would be :
a[hreflang]:after {
content: "\0000a0[" attr(hreflang) "]";
}
but it doesn't work on MSIE, so I try the jQuery way:
$('a[@hreflang]').each(function(){
$(this).after(
' ['+this.hreflang+']'
);
});
this works, but it's too much code, I would dream of having a one-liner:
$('a[@hreflang]').after(' ['+this.hreflang+']');
It doesn't work (or, not this way), because 'this' is not the current DOM
node, but the HTMLDocument itself.
-- Fil
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/