Hey there I have a problem , I need to check with a confirm pop-up if somebody wants to procceed or to stay on the page , like this :
function myFunction2()
{
var r=confirm("Are you sure you want to proceed?!");
if (r==true)
{
}
}
I want to have the variable $Procceed="Yes"
within the if
and a bit later I want to use the variable to do something
<?php
if(isset($_POST['Procceed']) && $_POST['Procceed'] == 'Yes'){}?>
How can I do this the best??