jQuery and CF first steps

jQuery and CF first steps

I have this little ajax request which is supposed
to delete a user "un" which is passed correctly.
I don't get any result from function(data) and
no errors either, but the record is not being deleted.
Tried also $.get, same thing. Pease help.

<script>
function deleteUser(un){
//alert(un);
$.post(
'remoteFunctions.cfm',
{username:un},
function(data){alert(data)});
//self.location="http://127.0.0.1/schoolsforums/index.cfm";
}
</script>


remoteFunctions.cfm contains :
<cfset application.user.deleteUser(url.username)>
which is properly initialized and otherwise works ok