Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: "POST",
- url: "TestResults.aspx/SaveNewComment",
- data: JSON.stringify({
- tagId: tagIdvalue,
- samplingConcern: samplingConcernValue,
- analysisConcern: analysisConcernCodeValue,
- initialThoughts: initialThoughtsValue
- }),
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function(msg) {
- alert(msg);
- // alert just won't work, I've tried msg.lastName
- // ideally the object returned here will be used to populate the form
- },
- Error: function() {
- alert('failure');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement