Hi, i have a drop down list with 3 values (1,2&3)
The default selected value is set like...
I want a confirm dialog to pop up if the user changes the current slection. If the user selects ok, then the new value is set. if cancel is selected then the old value is put back.
Can anyone help?
this is what i was trying to do...
Kindest thanks.
The default selected value is set like...
Code:
<%if Priority = 1 then response.write "selected"%>
I want a confirm dialog to pop up if the user changes the current slection. If the user selects ok, then the new value is set. if cancel is selected then the old value is put back.
Can anyone help?
this is what i was trying to do...
Code:
<script LANGUAGE="JavaScript">
function confirmChange()
{
var agree=confirm("Are you sure you wish to continue?");
if (agree)
return true ;
else
return false ;
document.form1.Priority.value = "3";
}
</script>
Kindest thanks.