I use this javascript code:
function confirmAction(question, uri) {
if(confirm(question)){
document.location=uri + '&confirm=1';
}
return false;
}
create link like this:
delete
If user has javascript enabled, on delete.php you will get
$_GET['confirm']=1, and you know the action
Hi Wilmar,
> And when the user hits the Delete link a pop up dialog box (javascript
> style) asks for confirmation.
Not a big deal. Your PHP script has to generate Links like:
delete
where xy is the id of your record. The link will be followed after a
positive conformation, "myscript.php" can
Hello guys
I have an script that just shows a list of names brought from a data base as this:
name 1
name 2
etc...
I want to have the following:
name 1 Delete
name 2 Delete
etc...
And when the user hits the Delete link a pop up dialog box (javascript style) asks
for confirmation.
I guess t
3 matches
Mail list logo