Hi Dave, I'm actually using dojo for this kind of stuff (http:// dojotoolkit.org). The good news is that with dojo you can build an ajaxian UI very fast, the bad news is that binding dojo with cake isn't very easy (at least the first time you try). I suggest you try dojo and if you has any question about dojo+cake please let me know. Cheers!
Dave Maharaj :: WidePixels.com ha escrito: > I am trying to use autocomplete in my user profile for Country names stored > in the Countries Table. Users and Countries are related...I have the ugly > drop down there now but want to use the auto complete feature. > > I have followed the tutorial on > http://cakebaker.42dh.com/2006/06/06/autocompletion-the-easy-way/ but get > nothing. > > view: > echo $ajax->autocomplete('Country.name'); > > renders: > <input id="Countryname" type="text" value="1" autocomplete="off" > name="data[Country][name]"/> > > But nothing happens. > > What am i doing wrong. > > var $components = array('Autocomplete'); > > var $helpers = array('Html', 'Javascript', 'Ajax'); > > Added > > Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
