Borrmaskin
Programmer
This is what i got:
---------------------------
<SCRIPT LANGUAGE = "JavaScript">
function ConFirm() {
if (confirm("Do you want to delete this?") {
window.open("TODO.php","_self"
}
}
</script>
<a href="#" onmousedown=javascript:ConFirm();">
<img src="gfx/checked.gif" width="30">
</a>
-----------------------------
I want to pass the argument URL to the function.
And perhaps it would be nice to pass different messages.
Can that be done?
---------------------------
<SCRIPT LANGUAGE = "JavaScript">
function ConFirm() {
if (confirm("Do you want to delete this?") {
window.open("TODO.php","_self"
}
}
</script>
<a href="#" onmousedown=javascript:ConFirm();">
<img src="gfx/checked.gif" width="30">
</a>
-----------------------------
I want to pass the argument URL to the function.
And perhaps it would be nice to pass different messages.
Can that be done?