> this works, but it's too much code, I would dream of having a one-liner:
>
>   $('[EMAIL PROTECTED]').after(' ['+this.hreflang+']');
>
> It doesn't work (or, not this way), because 'this' is not the current DOM
> node, but the HTMLDocument itself.

That is correct. The only other option would be to have a mini-parsing
engine, to allow you to do something like:

$('[EMAIL PROTECTED]').after(' [${this.hreflang}]');

That /may/ be a possibility, some day - but its definitely not a
priority right now (it will require a bunch of overhead).

--John

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

Reply via email to