I have entered my code in my Controller like below
function keyup(){
$this->Note->simple();
if(strlen($searchq)>0){
while ($row = mysql_fetch_array($getRecord)) {
开发者_StackOverflow中文版 <a href="#"> echo $row['name']; <small> echo $row['department'];</small></a>
}
return $row;
}
}
As soon as I entered this one, it doesn't display any info.
What corrections do I require?
Try this.
This may help you.
http://docs.jquery.com/Plugins/Autocomplete
All the best.
精彩评论