Hello,
I have this code in a button in my client before event code :
if (confirm("U gaat deze bewoner muteren"))
{
return true;
alert("De bewoner wordt gemuteerd");
}
else
{
return false;
alert("De bewerking is afgebroken");
}
I want the action to stop if the user presses cancel, it shows the correct message but it still executes the server code
Does anybody know why ?