On Thu, 2010-10-28 at 12:29 +1000, Ian Booth wrote:
> Hello YUI gurus
>
> Why can't I set the title on a YUI anchor object directly?
>
> ie
>
> link = Y.getElementById(...)
> link.title = "my title"
>
> fails (well, no error but doesn't work), but
>
> link.setAttribute('title', "my title");YUI rejects the property aspect of EcmaScript, mad skillz in JS cannot be used with YUI. The YUI developers may be enamoured with Java. YUI avoids properties and as you have discovered, it removed them :(. -- __Curtis C. Hovey_________ http://launchpad.net/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

