Hello.

Trying to create a DOM the following way:

    var m_sobre_fechado =
         DIV({'id' : 'menu_sobre'},
            H3(null,
                A({'href' : '#', 'onClick' : 'toggle_menu()'},
                'Sobre Oscar Niemeyer')))

but when I swapDOM to this, the 'onClick' is removed from the new <a href="" created. Is this a bug, or a filter, or am I doing something very wrong? I use the exact same thing on a INPUT() in another project and the onClick works ok...

[]s

--
Jose de Paula Eufrasio Junior <[EMAIL PROTECTED]>
aka coredump
http://core.eti.br
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to