Monday, May 20, 2013

$.ajax : error trapping code


 success: function(result) { alert(result.d); },
                error: function(xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    alert(err.Message);
                }

No comments:

Post a Comment

Data Types in C# and other languages

The following reference table compares commonly used C# numeric, scientific computing, and AI-oriented data types with their equivalents ...