Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个下拉菜单,对于某个值,另一个下拉菜单被禁用,为此我使用了javascript。但问题是当它被禁用时,我的“必填字段验证”被调用。如何解决这个问题?
您还需要像这样禁用下拉列表的验证器:
ValidatorEnable(document.getElementById('<%= ValidatorID.ClientID %>'), false);