can anyone heLp me
i need to send an id to a page through a javascript function but it wont work
he can't read the variable
function confirm_delete() {
var answer=confirm("Are You Sure You Want to Delete ?");
if(answer==true)
{
window.location="delete.php?id=$id";
// alert(" Title Deleted");
}
else
return false ;
}