$.post problem

$.post problem

Hi, I insert a record into DB with this code:
  1. $.post("assets/addspot.php", 
  2.                 {
  3.                     title: vtitle,
  4.                     longitude :vlongitude,
  5.                     latitude :vlatitude,
  6.                     email:vemail,
  7.                     stato : vstato, 
  8.                     user : vuser,
  9.                     phone:vphone,
  10.                     web : vweb,
  11.                     mobile : vmobile,
  12.                     image :vimage,
  13.                     description : vdescription
  14.                 },
  15.         function (data) { // Required Callback Function
  16.             alert( data);

  17.     });
my php file is: 

  1. $sql="insert into ....";
  2.  if ($mysqli->query($sql)) {

  3.     echo "Succefull Inserted. Good Job!!";

  4. else {
  5.     printf($mysqli->error);
  6.      echo $mysqli->error;
  7.      }
I can insert record in db, but on my web page I can't catch the resul if the record is inserted, if the record is non inserted i see the alert message. Can someone help?
thanks