Hello, I have another trouble in my project, I am trying to do an AjaxForm, but is not working, anyone knows what could be that?, here is my code...
@Ajax.ActionLink("Create", "Create" , new AjaxOptions()
{
UpdateTargetId = "UpdateContent",
InsertionMode = InsertionMode.Replace
} )
<div id="UpdateContent" style="text-align: center">
</div>
@section scripts
{
<script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
}
I have been trying to use Ajax in Asp.Net MVC 5 but it was in vain, i have included jquery.unobtrusive-ajax.min and everything, when i include everything and run the project, Visual Studio shows me this:
"Unhandled exception at line 5, column 2 in http://localhost:4194/Scripts/jquery.unobtrusive-ajax.min.js
0x800a1391 - Javascript Runtime Error: 'jQuery' is not defined"