- Code: Select all
<script type="text/javascript">
function nextStep(f, s)
{
var value = s.options[s.selectedIndex].value;
if(value){
alert("The value selected was "+ value);
}
else{
alert("Reset the form");
f.reset();
}
}
</script>
I tested in mozilla and it works... I think* it should work for you. Unless IE doesn't like it for some reason? hmmm

