Nigtmare on attribute street.

Catching up on my blogs after the weekend, the Ajaxian blog led me to this interesting post on Tobie Langel’s blog.

Basically, there are a few issues in the way different browsers return results from a getAttribute call. I fell foul of this several times in the past, and didn’t really understand how I could get the result I wanted on some things and not on others… Tobi sheds some light onto this in his blog on the matter.

The good news is that enhancements to the prototype library will be introducing the readAttribute function which should provide a way out of the chaos and clean up some more cross browser development issues.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: