getAttribute() always non-null

Mikolaj Machowski mikmach at wp.pl
Mon Nov 21 22:19:18 GMT 2005


Dnia poniedziaƂek, 21 listopada 2005 15:36, Dirk Mueller napisaƂ:
> On Sunday 20 November 2005 20:17, Mikolaj Machowski wrote:
> > target.getAttribute('href') != null
>
> target is a an <a> element? whats the doctype ?

No. Idea is that any element without href should return
null and allow for S5 for servicing click and move to next slide.

Idea is obviously wrong due to DOM requiring always
returning string but only Konq and Opera are following
standard here.

m.





More information about the kfm-devel mailing list