On 8/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
... this difference may cause some
bugs, so I suggest a small wrapper for getElementsByClassName in
firefox3.0
This is just a wrapper for document.gEBCN, but don't forget that the method
itself is available on every node in the DOM. We
I'm not saying we should do that, but can't we just wrap it
HTMLElement.prototype too ?
Tobie
On Aug 24, 6:49 am, Mislav Marohnić [EMAIL PROTECTED]
wrote:
On 8/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
... this difference may cause some
bugs, so I suggest a small wrapper for
On 8/24/07, Tobie Langel [EMAIL PROTECTED] wrote:
I'm not saying we should do that, but can't we just wrap it
HTMLElement.prototype too ?
No, I tried :)
We must go through HTMLElement, HTMLFormElement, HTMLTableElement ... each
and every one. Crazy, yeah :D
How about as an extended element method?
On Aug 24, 7:57 am, Mislav Marohni [EMAIL PROTECTED]
wrote:
On 8/24/07, Tobie Langel [EMAIL PROTECTED] wrote:
I'm not saying we should do that, but can't we just wrap it
HTMLElement.prototype too ?
No, I tried :)
We must go through
Maybe the first thing is not to overwrite the native method, I agree
with Mislav, to extend the NodeList.prototype maybe is the best
choice, and overwrite in the element methods never
want that thing
On Aug 25, 12:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
How about