Hallo!
Versuch doch folgendes:
function checkURL(X)
{
check = confirm("Wollen Sie Ihr Formular speichern?");
if(check == false)
{
window.location.href = X;
}
else
{
// Code zum Formularspeichern
}
}
Aufruf:
<a href="http://www.blabla.xy" onClick="checkURL('http://www.blabla.xy');return false">blabla</a>
HTH Markus