i am trying to pass the value to the deleteslide.php
page in this code.
Here i am getting the values from dropdown list and i am assigning it to variables.
Now i want to pass that variable values to deleteslide.php
page.
Here is what i have tried...
But this is not working properly
$("#deleteslide").click(function()
{
var prjid=document.getElementById("pj-list").value;
var unitid=document.getElementById("ut-list").value;
var slidid=document.getElementById("se-list").value;
var d ='deleteslide.php?projectId='+pj-list+'&unitNo='+ut-list+'&slideNo='+se-list+'';
$.ajax({
url:d,
success:function(output)
{
alert(output);
}
});
});
How can i do this?