Hi, I have the following Javascript that fires from an onChange event
for a dropdownlist. When the dropdownlist changes, it shows a dialog
box with Yes and Cancel. If I press Cancel, I want the value currently
in the dropdownlist to be reset back to what it was before. How do you
do reset it back?
Thank you a lot in advance
David
<script>
function pleaseConfirm()
{
return confirm("confir m you want to do this");
}
</script>
for a dropdownlist. When the dropdownlist changes, it shows a dialog
box with Yes and Cancel. If I press Cancel, I want the value currently
in the dropdownlist to be reset back to what it was before. How do you
do reset it back?
Thank you a lot in advance
David
<script>
function pleaseConfirm()
{
return confirm("confir m you want to do this");
}
</script>
Comment