Advertisement
Guest User

Untitled

a guest
Nov 17th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  function do_edit(id){
  2.                                 $.ajax({
  3.                                     url:  'pipelines_edit.html',
  4.                                     type: 'POST',
  5.                                     dataType: 'html',
  6.                                     success: function(result_data) {
  7.                                         $("#change_page").html(result_data);
  8.  
  9.                                            $.ajax({
  10.                                                 url: basepath+'pipeline/do_edit/'+id,
  11.                                                 type: 'POST',
  12.                                                 dataType: 'JSON',
  13.                                                 success: function(data) {
  14.                                                     $("#project_name").val(data.project_name);
  15.                                                     $("#account").val(data.account);
  16.                                                 }
  17.                                             });
  18.                                     }
  19.                                 });
  20.                         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement