Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ldurl = "/ld-portal/operation_information";
- var request = $.ajax({
- url: ldurl,
- type: "POST",
- data: {
- om_id: id,
- operation_flag: operationFlagValue
- }
- });
- request.done(function (data) {
- if (data) {
- $("#dialog").dialog("close");
- window.location.href = '/ld-portal/top';
- } else {
- alert("Something Wrong!");
- $("#dialog").dialog("close");
- }
- });
- request.fail(function (jqXHR, textStatus) {
- alert("Request failed: " + textStatus);
- $("#dialog").dialog("close");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement