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
-~----------~----~----~----~------~----~------~--~---