<form name="con" method="post" action="" onSubmit="return check()">
</form>
<script>
function check(){
if(document.getElementById('country').selectedIndex==0)
{
alert("Please select country");
document.getElementById('country').focus();
return false;
}
}
</script>
No comments:
Post a Comment