Forum Moderators: open
<head>
<script language="javascript">
var dirty=0;
function chkDirty() {
if (dirty == 1) { alert('Save your changes'); }
}
</script>
</head>
body onUnload="chkDirty();">
<form>
<input type="text" name="element1" onChange="dirty=1" value="change me">
</form>
Untested, but that should work. Won't help a bit if they close the window, but will help if they navigate off.