if i go with upload my php file where data is being sent and from where data is getting stored (that php file) stored into server http://ip/includes/js_new/update_contact.php then it shows 500 internal problem.. pls help me frnds.. $("#update_btn").click(function(e){ e.preventDefault(); alert("debugging"); var data=$("#frmUpdate").serialize();
$.ajax({
// url:"index.php?option=com_jumi&fileid=44",
url:"http://ip/includes/js_new/update_contact.php";
type:"POST",
data:data,
cache:false,
success:function(result){
alert(result);
console.log(result);
alert("testting");
}
})
e.preventDefault();
});
UPDATE Guys i got the proble it is working now Thank you so much for your quick replies.. Problem was-- there was error in my php page where i'm posting or written insert and database query... because of that it was not showing error and we just focused on ajax request only it is write. i'v to change on php file.. for ajax we don't need mootool or don't require to follow whole mvc pattern of the joomla... I got it guys i written these every thing for our future developers...