I am new to start yii and now i got stuck in ajax
$.ajax({
type:"POST",
url:<<<<
data:{"uname":username,"pass":password},
success:function(msg){
//dosth
}
});
How can i put my php like <<<<data/action.php>>>> file in this style. As i've tried, it's not working
Could any guide me to do this. Thank in advance!

Help













