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.
当我第一次单击静态选择时,我在另一个选择的更改事件上动态添加选择元素,然后动态选择显示在页面上的所有选项,但是当我再次从静态选择不同的值时,选择页面上显示的动态选择,但没有选项? 这是我的演示页面
解决方案是$('#exerciseList-dialog').remove();在 loadExerciseList 函数内部添加。
$('#exerciseList-dialog').remove();
基本上,当您更改类别时,此行会从 DOM 中删除对话框。
我希望这有帮助。
我在 asp:Gridview 标签下使用 asp:BoundField 标签。在这个标签中,我将从 sql 获取我的数据,这是我能够得到的所有数据,但我在这里面临的问题是我无法从左侧对齐它从中心开始的文本标签
<asp:BoundField DataField =