Friday, January 12th, 2007
It’s Friday, so maybe you want to sit back for a few minutes and walk through some time in Tobie Langel’s life as he tries to get IE to play nice with attributes.
This tale walks through the pain of thinking that you have a working version, and then being disappointed again.
- IE: element.foo === element.getAttribute(‘foo’)
- iFlags to the rescue ? element.getAttribute(‘onclick’, 2);
- attributes collection: element.attributes[‘foo’];
- Maybe wait for Prototypes upcoming: readAttribute()
Posted by Dion Almaer at 9:21 am