使用ajax在同一页面上传递的数据

I am stuck while passing the input values to same page for that i used Ajax but it is not happening and here my ajax function not working and i think its all because of URL given in the below code.

Just tell me, what should I insert in url section so that I can pass the values on the same page.

Please suggest your thoughts on the same.

$(document).on('submit', '#saveForm', function()
 {

  var data = $(this).serialize();

  $.ajax({

  type : 'POST',

  url  : 'index.php',

  data : data,

  success :  function(data)
       {

      $("#saveForm").fadeOut(500).hide(function()

      {
       $(".result").fadeIn(500).show(function()

       {
        $("#demo").html(data);
       });
      });

       }
  });
  return false;
 });