Ajax-Jquery Implementaion

For example I have this line using the usual $.post() :

$.post("autosuggest.php", {queryString: ""+inputString+""}, function(data){…

This code processes its action at "autosuggest.php" which is in another file…

My question is how am I going to implement this on Yii? for example the code above is inside admin.php (created when I used Gii Model & CRUD generator)

Specifically this is for my searchbox that I want to create with auto-suggest feature from my database…I dont want to just edit the built-in advanced search. I want to create my own (for learning and exploration purposes).