Yes, that's preceisely the way jQuery works--using CSS selectors. On Fri, Apr 4, 2008 at 11:09 PM, Langdon Stevenson <[EMAIL PROTECTED]> wrote: > > Hi Sam > > This isn't an issue of understanding jquery, I was just curious to know > how Martin applies his javascript dynamically via css selectors. A > quick Google search turned up Behaviour as one way of doing this. At > first glance it appears to be a library whose purpose is allowing JS to > be attached to DOM objects via CSS classes and IDs, hence the question. > > > Regards, > Langdon > > > Sam Sherlock wrote: > > > Have you tried asking the jquery list for help? > > > > Once cake have rendered code to the view. jquery can take over from > > there, then you just need to adapt any jquery code you learning from to > > work with cake (change urls to controller/action/view) > > > > mail me off list if you want some more indepth info (I feel rest of > > cakelist would may think this is digressing away from cake) > > > > On 04/04/2008, *Langdon Stevenson* <[EMAIL PROTECTED] > > > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > Hi Martin > > > > > > > I do not use any helper for jquery, myself. Since all my javascript, > > > including ajax, is applied dynamically to css selectors I have no > > real > > > need for a helper. > > > > Do you use the Behaviour js library for this? > > > > http://www.bennolan.com/behaviour/ > > > > Or something else? > > > > Regards, > > Langdon > > > > > > > > > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---