How do you extend HTMLElement? Why can't you just do
HTMLElement.pro totype.foo=func tion() {
alert( 'foo' );
}
I assume HTMLElement belongs to some kind of namespace, but darn if I
can find anything that tells me anything about it.
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cybers pace.org | don't, I need to know. Flames welcome.
HTMLElement.pro totype.foo=func tion() {
alert( 'foo' );
}
I assume HTMLElement belongs to some kind of namespace, but darn if I
can find anything that tells me anything about it.
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cybers pace.org | don't, I need to know. Flames welcome.
Comment