업데이트 패널 새로 고침 후 함수를 어떻게 호출 할 수 있습니까? 이 link을 통해 참조를 읽었지만 call function here
장소에 무엇을 제공해야할지 모르겠습니다.업데이트 패널 업데이트 후 jQuery가 작동하지 않음
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type = "text/javascript">
var jq5 = $.noConflict(true);
jq5(document).ready(function() {
var CheckAll = jq5("#chkAll").click(function() {
if (this.checked) {
jq5('.chk').attr('checked', this.checked);
}
else {
jq5('.chk').attr('checked', this.checked = false);
}
});
jq5(".chk").click(function() {
if (jq5(".chk").length == jq5(".chk:checked").length) {
jq5("#chkAll").attr("checked", "checked");
} else {
jq5("#chkAll").removeAttr("checked");
}
});
});
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (prm != null) {
prm.add_endRequest(function (sender, e) {
if (sender._postBackSettings.panelsToUpdate != null) {
// call function here...
}
});
};
</script>
으로 변경했지만 다른 해결책을 주셔서 감사합니다. – Aruna