Ramco Ramco

Ramco Ramco

  • 441
  • 3.4k
  • 523.1k

Error 404 not found

Oct 7 2022 6:12 AM

Hi

  It shows below error in Developer Tools

SCRIPT5022: ASP.NET Ajax client-side framework failed to load.

SCRIPT5009: 'Sys' is undefined

SCRIPT1003: Expected ':'

<script>
        $("#ddlTrainingType").change(function (e) {
            $.ajax({
                url: "TrainingReport.aspx/BindTrainingModule",
                data: '{"Id": + $(this).val() }',
                debugger;
                type: "POST",
                contentType: "application/json;charset=UTF-8",
                dataType: "json",
                success: function (result, status, xhr) {
                    $("#lstTrainingModule").html(result.d);
                },
                error: function (xhr, status, error) {
                    alert("error0");
                    alert("Result: " + status + " " + error + " " + xhr.status + " " + xhr.statusText)
                }
            });
        });
    </script>

Thanks


Answers (2)