"sloan" <sl***@ipass.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Is there a better way to do this?
<script type="text/javascript">
function validateForm()
{
if(document.getElementById('<%=DropDownList1.Clien tID%>').value == "")
{
alert('DropDownList1 cannot be blank');
document.getElementById('<%=DropDownList1.ClientID %>').focus();
return false;
}
}
</script>