Files
sryang 577060bc78 chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
2026-09-10 09:42:37 +08:00

26 lines
595 B
JavaScript

//
// 訓練溝通記錄使用的 script
//
function OpenAttachment(id)
{
window.open("附件檢視.aspx?id=" + id);
}
function ShowReference(id)
{
$.ajax({
type: "POST",
url: "溝通記錄.aspx/GetReference",
contentType: "application/json; charset=utf-8",
data: "{ id:\"" + id + "\"}",
dataType: "json",
success: function (response)
{
if (response && response.d)
$("span[name=lbReference]").html(response.d);
else
$("span[name=lbReference]").html("");
}
});
}