ASP.NET code-behind
Code:
ddl.ListBox.Attributes("onchange") = "if(ddl_OnChange('autopostback')==false) return false;"
Code:
var ddl = document.getElementById('<%= ddl.ClientID %>'); var ddl = (ddl) ? ddl.selectedIndex : null; function ddl_OnChange(){ if(validateForm() == false){ if(ddl &&
Leave a comment: