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.
我有一个带有 2 个选项卡的 AjaxControlToolKit TabContainer,我通过 C# 中的自定义控件加载这些选项卡。在选项卡之间切换时,我需要触发一个事件。
我应该检查哪个 javascript 事件以确定选择了哪个选项卡?
var ai = $find('tc_id').get_activeTabIndex(); if (ai == "1") { setDetail1Sync(); } else { setDetail0Sync(); }
我得到了需要使用 preg match all 提取超链接标签内的值的 html 内容。我尝试了以下但我没有得到任何数据。我包含了一个示例输入数据。你们能帮我修复这段代码并在 play.asp?ID=(例如:我想从 play.asp?ID= 12345获取这个值12345)前面打印所有