Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

jQuery Unobtrusive Ajax Helpers

<form asp-controller="Home" asp-action="SaveForm"
    data-ajax-begin="onBegin" data-ajax-complete="onComplete"
    data-ajax-failure="onFailed" data-ajax-success="onSuccess"
    data-ajax="true" data-ajax-method="POST">
    <input type="submit" value="Save" class="btn btn-primary" />
    <div id="Results"></div>
</form>
Source by dotnetthoughts.net #
 
PREVIOUS NEXT
Tagged: #jQuery #Unobtrusive #Ajax #Helpers
ADD COMMENT
Topic
Name
6+9 =