Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var pathname = window.location.host;
- var origin = window.location.origin;
- var siteURL = "http://" + pathname + "/";
- $.ajax({
- type: "POST",
- url: siteURL + 'serviceentry/SetNewTech',
- data: {
- Tech: value_check,
- OrderNo: so_no
- },
- success: function(response) {
- if (response != null && response.success) {
- alertify
- .success(response.responseText);
- $("#technician").val(value_check);
- } else {
- alertify
- .error(response.responseText);
- }
- },
- error: function(response) {
- alertify
- .error(response.responseText);
- }
- });
Add Comment
Please, Sign In to add comment