<pre> <script> function listBoxSelectedIndexChanged() { var ListBox1Id = '<%= DDlGroups.ClientID %>'; var TextBox1Id = '<%=txtNewGroup.ClientID %>'; if (document.getElementById(ListBox1Id).value == "new group") { document.getElementById(TextBox1Id).disabled = false; } } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)