Web Forms
-
ASP.NET web forms call ajax (나는 분명 잘 리턴했는데 data가 undefined가 뜬다...)Web Forms 2023. 11. 29. 09:32
분명 내 목표는,,, Java와 .net을 다 하는 개쩌는 풀스택 개발자였는데,,,,,, 왜때문에 .net이랑 web froms,,, 그리고 classic asp를 하게되었는지 모를 일,,,,, 아무튼 web forms에서 ajax호출할 때,, 다른 api 말고 내가 같은 프로젝트에 만든 함수 호출 하는 법,, 정리 왜냐고? 난 몰랐으니까,, function example(id) { $.ajax({ type: "post", url: "/Sample/List.aspx/example", data: JSON.stringify({ id: id }), contentType: "application/json; charset=utf-8", dataType: "json", success: function (respon..