here is ajax code i’m implement this code i want to call ajax request same page where i want to get the request mean same page send request and get request
function data(status)
{ $.ajax({
type:"post",
url:"main.php",
data: "status="+ status,
success:function(data)
{
} }); });
i’m try this code but have problem in ajax call same html page show header footer also result how to call on self page where is ajax code how it is possible?