if(document.getElementById("<%=ddldocInge.ClientID%>").value==-1) { alert("Select the Doctor"); document.getElementById("<%=ddldocInge.ClientID%>").focus(); return false; }
ddldocInge.SelectedIndex
.value
.selectedIndex
if(document.getElementById("<%=ddldocInge.ClientID%>").selectedIndex == -1) { alert("Select the Doctor"); document.getElementById("<%=ddldocInge.ClientID%>").focus(); return false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)