I have this little ajax request whic is supposed
to delete a usere "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 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3452
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to