Posts

Showing posts from April, 2021

jQuery toasted message example

Image
 Package  :  For Toasted message you need to download toast package from nugate  package manager .   <package id="toastr" version="2.1.1" targetFramework="net472" /> Import three script in page :  <link href="~/Content/toastr.css" rel="stylesheet" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="~/Scripts/toastr.js"></script> Example :   $.ajax({             type: "POST",             url: '@Url.Action("SubmitData", "Emplyee")',             data: FormData.serialize(),             success: function (data) {                 debugger                 if (data.success == true) {                     toastr.success('Su...