Everything works and the text box shows and works ...Except that the result box is always hidden (display:none); I used javascript to change the display style and I thought I figured it out :
$('author_name_auto_complete')style.display = '';
Now when i type text the results show up, but as soon as I delete the text (empty string) the display style changes back to 'none';
Is there a smarter fix -- or am I approaching the entire auto complete the wrong way??
Thank you in advance for any response
CommentAuthormetkelb
Here is my controller function to respond to the ajax call
function auto_complete_for_author_name(){ $name = $this->params['author']['name']; $this->authors = & $this->Author->find('all', array('conditions' => array("name Like :name", ':name' => $name.'%')));