Ah, sorry. Didn't read your properly it seems. Don't think there is such a function in MochiKit.DOM today. But you can easily write one yourself if you really need it.
Note though. There is nothing *wrong* with the standard DOM functions. If they do the work and function properly in all browsers (which most of them actually do), there is no point in rewriting them in MochiKit. /Per On Tue, May 13, 2008 at 10:47 PM, Szaijan <[EMAIL PROTECTED]> wrote: > > Thanks for the response. > > insertSiblingNodesBefore is only useful if you already know and have > an ID or reference to another child of the parent element. If the > parent element has no children when you go to insert, you can't get a > reference to a sibling and the function cannot be called or it fails > on a null sibling lookup. In the arbitrary case, where the parent > will sometimes have children and sometimes not, > insertSiblingNodesBefore is not useful. > > Any other candidates? > > MJ > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
