$("#test").click(function(){
$val = $("#user").val()
$.ajax({
url: "system/application/?mclts_c/save_test",
type: "POST",
datatype: "html",
data: "user=$val",
success: function(html){
alert(html);
}
})
});
im trying to pass the data to my controller and i think its working because its returning an alert box but the problem is whats inside the alert box is "Directory access is forbidden"... i think its because i cant seem to access my controller.. but i cant fix it.. maybe you guys know a solution for this?... please help!..
This post has been edited by czach: 28 August 2010 - 07:45 AM

New Topic/Question
Reply



MultiQuote




|