Good day.
I need from PartialView to call the Ajax script to load data
<script type="text/javascript"> function changed(data) { $.Ajax({ type: "GET", url: '@Url.Action("GetDepsAsync", "Employees")', data: { id: data }, success: function(result){ operate(data); } }) } </script> But, the section of scripts @section scripts {} does not work in PartialView
Is there a way to execute an Ajax request from PartialView?
$.Ajax({. It is necessary to change it to$.ajax({. Several times this rake occurred. - bodynar