Im trying to Pass this into a javascript function
$album_id = ? ( will be populated randomly by diff user albums)
Now the javascript function
function delete_album()
{
var where_to= confirm("Do you really want to Delete This Album?");
if (where_to== true)
{
window.location="/delete_album.php?album_id=?";
}
else
{
window.location="/manage_albums.php";
}
}
Now in the javascript function , i dont know the album ID , it must be pased to the javascript function somehow , and then the javascript function must be able to use it in the first wndow.location syntax
Thanks for your help with this matter