On 12/16/06, Christopher Arndt <[EMAIL PROTECTED]> wrote: > You need to give elements, to which you want to attach a handler, an ID > or a CLASS attribute and then use MochiKit's 'getElement' or > 'getElementByTagAndClassName' functions to locate the element(s) and > attach the handler with 'connect'.
Did that. A simple connect is working, but now I am thinking that a lot of things will be harder now, like, I have a list of links that can be clicked, this list is dynamic. Using 'onclick' I could just put the functions and parameters on the command line, with the 'connect' stuff it seems not possible, I have a 'generic' function to connect all the events of a given type but not much how to get information... > > http://dean.edwards.name/weblog/2006/06/again/ Nice site. I'm using the tips provided. -- José de Paula Eufrásio Júnior aka coredump http://core.eti.br --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

