javascript Programming Glossary: errordata
ASP.NET MVC - Returning a PartialView to Ajax along with another object http://stackoverflow.com/questions/10589787/asp-net-mvc-returning-a-partialview-to-ajax-along-with-another-object function viewHTML #someDiv .html viewHTML error function errorData onError errorData Controller C# public ActionResult GetSomePartialView.. #someDiv .html viewHTML error function errorData onError errorData Controller C# public ActionResult GetSomePartialView SomeArgumentModel.. the HTML I returned from the controller error function errorData onError errorData This SORTA works right now. I get a good object..
Delaying AngularJS route change until model loaded to prevent flicker http://stackoverflow.com/questions/11972026/delaying-angularjs-route-change-until-model-loaded-to-prevent-flicker successData deferred.resolve successData function errorData deferred.reject you could optionally pass error data here return..
|