Professional Documents
Culture Documents
text=="select") { alert("Select The Manager") } var fm=document.forms(0) if(fm.costCenter.options[fm.costCenter.options.selectedIndex].text=="select") { alert("Select The CostCenter") } if(document.forms(0).expenseDescription.value=="") { alert("Enter The Discription") } if(document.forms(0).expenseAmount.value=="") { alert("Enter The Amount") }
else { val.submit() } }