Quote:
Originally Posted by webdev1958
actually, you don't need the first return false;
Code:
function validate(){
var selO = document.getElementById('merchant');
if(selO.selectedIndex == 0){
alert('You have not made a selection');
} else {
window.location.href = selO.value;
}
return false;
}
|
Thanks, I tried with and w/o return false, and there is no improvement.