Hi Sam

Thanks for the reply, but I am not clear exactly what you are talking 
about here.  I was asking specifically about how Martin attaches 
Javascript to CSS selectors.  Is this what you are referring to?  Or 
just to jquery use in general?

Regards,
Langdon



Sam Sherlock wrote:
> I have been using jQuery and cake for sometime.   I never did make 
> headway with proto etc
> 
> 
> for example
> 
>  $(document).ready(function() {  // fired when document is ready
>      $(".edit").editable("/post/update/");   // attaches editable to all edit 
> class elements
> 
>  });
> 
> 
> You don't need a cake helper since you JS code is DRY (exact definition 
> of that acronym escapes me).  Its unobstrusive, so you can make you page 
> work without js and then enharnce it with jQuery or moo whatever.   
> Attaching events to dom elements is not specific to jQuery (it is IMHO 
> much easier with jQuery than alternatives)  Also there is a vast range 
> of plugins (a full set of UI plugins is coming out of beta soonish)
> 
> I have seen (thinkginphp.org <http://thinkginphp.org> I think) mention 
> of a project (named jdom I think)  that extracts/selects data from 
> within markup.   That looks to kool for school.
> 
> there is a very active list for jQuery and a book (apologies for this 
> [perhaps overly lenghty response])
> 
> - S
> 
> 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to