I am trying to send data to my PHP script to handle some stuff and generate some items.
$.ajax({ type: \"POST\", url: \"test.php\", data: \"
You can also use bellow code for pass data using ajax.
var dataString = "album" + title; $.ajax({ type: 'POST', url: 'test.php', data: dataString, success: function(response) { content.html(response); } });