function Allocate()
{
this.Name = $("allocateName");
this.AddAllocation = $("addAllocation");
this.setCustom= $("setCustom");
}
... some other initializations here
Allocate.prototype.EnableAllocations = function() {
this.enableAllAlloactions();
this.setCustomAllocations();
}
이이 형식에 자바 스크립트가 우선이다
내가이 시나리오에서 너무 잘 이해하지 못하는 두 가지가 있습니다
Page.ClientScript에서 함수를 호출하는 자바 스크립트에서 이런 종류의 클래스가 있습니까? 이 파일은 Allocate.js 파일에 있습니다.
내 질문은 다음과 같습니다 : 나는 그렇게 할 것입니다 방법 Page.ClientScript.RegisterClientScriptBlock(...);
에서 EnableAllocations를 호출했다면
?