i m posting some data on url page but it displays incomplete.following is the code snippet,what thing i m doing wrong plz notify me so that i correct,thanks
test.js var list="vc++"; $.ajax({ type: "POST", url: "test.php", dataType: "json", data: "book="+list, timeout: 5000, success: successA, error: errorA }); function successA(data){ //code } function errorA(data){ //code } test.php echo $_POST['book']; //it displays only vc not vc++ (using POST method)